summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tile1.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-25 19:36:08 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-25 19:36:08 +0000
commitf080c133494f6430dd9078c438c90f9939e01b85 (patch)
treebf17e8c9e9de7034400abb76c00c1adf2fffd838 /crawl-ref/source/tile1.cc
parentc1e8bba8affbfe9bfd20eebb1fdc6c9c858b9c0a (diff)
downloadcrawl-ref-f080c133494f6430dd9078c438c90f9939e01b85.tar.gz
crawl-ref-f080c133494f6430dd9078c438c90f9939e01b85.zip
Fixed tile compile. (I was being a bit overzealous in my cleanup.)
Fix 1922815: blood potion assert. Implement 1828037: prompt before entering harmful clouds And tidy up fountain handling, dried non-magic fountains may now also start flowing again. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3878 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tile1.cc')
-rw-r--r--crawl-ref/source/tile1.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tile1.cc b/crawl-ref/source/tile1.cc
index fff4b55c03..db27bf9663 100644
--- a/crawl-ref/source/tile1.cc
+++ b/crawl-ref/source/tile1.cc
@@ -4351,6 +4351,10 @@ void tile_draw_inv(int flag)
}
int n = 0;
+
+ // item.base_type <-> char conversion table
+ const static char *obj_syms = ")([/%#?=!#+\\0}x";
+
for (int i = 0; i < (int)strlen(item_chars); i++)
{
int top = n;