diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-12 01:49:12 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-12 01:49:12 +0000 |
commit | af9d6c8e0e2e3f58d255449716ad7875cde5ae07 (patch) | |
tree | 1a2d6ffcad7f74d1fbebaa349233928bd60d8d2e /crawl-ref/source/spells1.cc | |
parent | 192cbf9887aae64c3ef02cde310ee3175a0d4fb5 (diff) | |
download | crawl-ref-af9d6c8e0e2e3f58d255449716ad7875cde5ae07.tar.gz crawl-ref-af9d6c8e0e2e3f58d255449716ad7875cde5ae07.zip |
General code improvements.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7220 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 04274d833e..aa10be5b51 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -759,10 +759,7 @@ static int _healing_spell(int healed, const coord_def where = coord_def(0,0)) if (monster->hit_points == monster->max_hit_points) simple_monster_message(monster, " is completely healed."); else - { - const monsters *mons = static_cast<const monsters*>(monster); - print_wounds(mons); - } + print_wounds(monster); if (you.religion == GOD_ELYVILON && !_mons_hostile(monster)) { |