From 4ea301d9910996cd3ef97a56b3cba86fd95685bb Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 5 Feb 2007 12:05:42 +0000 Subject: [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 --- crawl-ref/source/stuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/stuff.h') 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); } -- cgit v1.2.3-54-g00ecf