summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-15 11:11:04 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-15 11:11:04 +0000
commit4a08b83f96c0579682fd9e9ec4e64eac0e4d854f (patch)
tree6706638d2906b18e64f04c76935c1da922dcd627 /crawl-ref/source/stuff.h
parent52efefd8952ef84be98bb0ce861ae1550dc6096d (diff)
downloadcrawl-ref-4a08b83f96c0579682fd9e9ec4e64eac0e4d854f.tar.gz
crawl-ref-4a08b83f96c0579682fd9e9ec4e64eac0e4d854f.zip
Fixed stash-tracker seeing through walls (it was using stale LOS after blink/teleport), fixed shadow creatures crash in labyrinths, and fixed use of displayed stair glyph for handling selection of monsters placed on stairs (display glyphs can be changed by the user).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2855 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index e9a4248bd1..de773bcd54 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -113,7 +113,9 @@ char index_to_letter (int the_index);
int letter_to_index(int the_letter);
-int near_stairs(int px, int py, int max_dist, unsigned char &stair_gfx, branch_type &branch);
+int near_stairs(const coord_def &p, int max_dist,
+ dungeon_char_type &stair_type,
+ branch_type &branch);
inline bool testbits(unsigned long flags, unsigned long test)
{