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 | |
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
-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 |