diff options
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 34e7be81f5..797e233c43 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -883,7 +883,6 @@ bool vampiric_drain(int pow, const dist &vmove) char burn_freeze(int pow, beam_type flavour) { - int mgr = NON_MONSTER; dist spd; pow = std::min(25, pow); @@ -903,7 +902,7 @@ char burn_freeze(int pow, beam_type flavour) return (-1); } - mgr = mgrd[you.x_pos + spd.dx][you.y_pos + spd.dy]; + const int mgr = mgrd[you.x_pos + spd.dx][you.y_pos + spd.dy]; // Yes, this is strange, but it does maintain the original // behaviour. Possibly to avoid giving information about invisible |