diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-15 22:18:22 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-15 22:26:53 +0100 |
commit | b18dd364ad1477f026be7fd57db74cbf27741db8 (patch) | |
tree | b6c8a86141e007fe3b2f917d83118bf98cb38169 /crawl-ref/source/tilepick.cc | |
parent | 296c9a1a2ad21c1b22a6c966f4485ee83131b5b3 (diff) | |
download | crawl-ref-b18dd364ad1477f026be7fd57db74cbf27741db8.tar.gz crawl-ref-b18dd364ad1477f026be7fd57db74cbf27741db8.zip |
Actually fix hellfire colouring and tiles
34a3de9 actually only made smitey hellfire lightred, and the commit it
references only affected player hellfire! Unless there is a secret 4th
hellfire codepath this should now work properly.
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index 162145f685..7c055ff972 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -4538,12 +4538,10 @@ tileidx_t tileidx_bolt(const bolt &bolt) case RED: if (bolt.name == "puff of flame") return TILE_BOLT_FLAME; - else if (bolt.name == "burst of hellfire") - return TILE_BOLT_HELLFIRE; break; case LIGHTRED: - if (bolt.name == "hellfire") + if (bolt.name.find("hellfire") != string::npos) return TILE_BOLT_HELLFIRE; break; |