diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 04:45:28 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 04:45:28 +0000 |
commit | 97f02f9ce121a2b74a270ed44d525f572f293092 (patch) | |
tree | e84be2cf33276e03da7609a8fe362ca0b32133f9 | |
parent | 5981c8daab330859f56f5a17a55b7c877797cb62 (diff) | |
download | crawl-ref-97f02f9ce121a2b74a270ed44d525f572f293092.tar.gz crawl-ref-97f02f9ce121a2b74a270ed44d525f572f293092.zip |
Since dancing weapons without the MF_HARD_RESET flag fall from the air
instead of disappearing when their abjuration time runs out, don't
display the "disappears in a puff of smoke" message for them.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4579 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/monstuff.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index a6225e6e0c..d6778f486a 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -822,19 +822,19 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent) { if (!silent) { - if (hard_reset) - simple_monster_message( monster, - " disappears in a puff of smoke!" ); - else + if (!hard_reset) + { simple_monster_message(monster, " falls from the air.", MSGCH_MONSTER_DAMAGE, MDAM_DEAD); - death_message = false; + death_message = false; + } } - if (hard_reset) - place_cloud( random_smoke_type(), - monster->x, monster->y, 1 + random2(3), - monster->kill_alignment() ); + if (!hard_reset) + { + if (killer == KILL_RESET) + killer = KILL_DISMISSED; + } } switch (killer) |