diff options
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/spells2.cc | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index d5547c38c6..9df1997998 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -733,7 +733,7 @@ static int _healing_spell(int healed, int target_x = -1, int target_y = -1) mprf("You heal %s.", monster->name(DESC_NOCAP_THE).c_str()); if (monster->hit_points == monster->max_hit_points) - simple_monster_message( monster, " is completely healed." ); + simple_monster_message(monster, " is completely healed."); else { const monsters *mons = static_cast<const monsters*>(monster); 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 |