diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-02-05 12:05:42 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-02-05 12:05:42 +0000 |
commit | 4ea301d9910996cd3ef97a56b3cba86fd95685bb (patch) | |
tree | 6e874ba47e6d6b7da7c5f8349ce5da6db0b7515b /crawl-ref/source/stuff.h | |
parent | b1dfd6626d73db44b352a800237921cf9aeeb0ef (diff) | |
download | crawl-ref-4ea301d9910996cd3ef97a56b3cba86fd95685bb.tar.gz crawl-ref-4ea301d9910996cd3ef97a56b3cba86fd95685bb.zip |
[1632567] Greedy explore now tries to do the Right Thing with mimics.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@915 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r-- | crawl-ref/source/stuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index c0bb7ab30c..401d6a746b 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -102,7 +102,7 @@ int letter_to_index(int the_letter); int near_stairs(int px, int py, int max_dist, unsigned char &stair_gfx); -inline bool testbits(unsigned int flags, unsigned int test) +inline bool testbits(unsigned long flags, unsigned long test) { return ((flags & test) == test); } |