summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 19:32:38 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 19:32:38 +0000
commitc917efe2ecd38f449619d7b25160c8053b81e108 (patch)
treec0c482a7dd4eff5c01b768685a982ae9ea6ff6b3 /crawl-ref/source/tilepick.cc
parent0da6681bc0a2f308f9bca6e030adf9a54bc3b959 (diff)
downloadcrawl-ref-c917efe2ecd38f449619d7b25160c8053b81e108.tar.gz
crawl-ref-c917efe2ecd38f449619d7b25160c8053b81e108.zip
Use ETC_MAGIC for beam animations with unknown effect, so we don't
accidentally leak information about unID'd wands etc. Some additional space fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10358 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 415ce076e4..ea9afe434c 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -2690,7 +2690,7 @@ void tileidx_unseen(unsigned int &fg, unsigned int &bg, int ch,
int tileidx_bolt(const bolt &bolt)
{
- int col = bolt.colour;
+ const int col = bolt.colour;
return tileidx_zap(col);
}