summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-10-20 12:07:18 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-20 12:12:39 +0200
commit475154385fe97310c135e4c7b63dab320dc3a333 (patch)
treeb64833dbb094f8c0eee0b2372ed539cc2c5e705f /crawl-ref/source/tilepick.h
parentdac88be3f3fa7e808c1cfab6b3c6cbbf8d820b10 (diff)
downloadcrawl-ref-475154385fe97310c135e4c7b63dab320dc3a333.tar.gz
crawl-ref-475154385fe97310c135e4c7b63dab320dc3a333.zip
Fake an item to fix tiles crash on Xom's/Ashenzari's item detection.
A simpler way would be to show the unseen tile when item_info is 0, but that would prevent us from having different classes of detected items in the future.
Diffstat (limited to 'crawl-ref/source/tilepick.h')
-rw-r--r--crawl-ref/source/tilepick.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.h b/crawl-ref/source/tilepick.h
index e5f67405b7..a28dc17a81 100644
--- a/crawl-ref/source/tilepick.h
+++ b/crawl-ref/source/tilepick.h
@@ -29,7 +29,6 @@ tileidx_t tileidx_draco_job(const monster* mon);
tileidx_t tileidx_item(const item_def &item);
tileidx_t tileidx_item_throw(const item_def &item, int dx, int dy);
-tileidx_t tileidx_show_item(int show_item_type);
tileidx_t tileidx_known_base_item(tileidx_t label);
tileidx_t tileidx_cloud(const cloud_struct &cl);