diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 14:32:42 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 14:32:42 +0000 |
commit | d1e4fc1f9a2729e1f4f4f060dc6929900148ad6a (patch) | |
tree | 6d865532e40356f1012c746c6f15079306bb9928 /crawl-ref/source/spells2.cc | |
parent | 527145300902fc9a74574b6188814abb05473acb (diff) | |
download | crawl-ref-d1e4fc1f9a2729e1f4f4f060dc6929900148ad6a.tar.gz crawl-ref-d1e4fc1f9a2729e1f4f4f060dc6929900148ad6a.zip |
Add more miscellaneous minor fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6426 c06c8d41-db1a-0410-9941-cceddc491573
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 |