From 4a08b83f96c0579682fd9e9ec4e64eac0e4d854f Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 15 Nov 2007 11:11:04 +0000 Subject: 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 --- crawl-ref/source/stuff.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/stuff.h') 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) { -- cgit v1.2.3-54-g00ecf