diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-25 17:30:31 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-25 17:30:31 +0000 |
commit | 57f3e71ae59d5e4830bdf787d9f2d5e9d5fe8fc8 (patch) | |
tree | 835d7e23d1c0d27e935015288effd8115a949cf0 /crawl-ref/source/mutation.cc | |
parent | 1f9e38751c81744f2e8d4ffb1aea7f3870ba9d5b (diff) | |
download | crawl-ref-57f3e71ae59d5e4830bdf787d9f2d5e9d5fe8fc8.tar.gz crawl-ref-57f3e71ae59d5e4830bdf787d9f2d5e9d5fe8fc8.zip |
In ouch(), use NON_MONSTER instead of 0 as the index for non-monster
attacks, so as to avoid overlap with the first monster on the level.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6985 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r-- | crawl-ref/source/mutation.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index 307029b90c..c387d3a1c3 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -1759,7 +1759,7 @@ bool mutate(mutation_type which_mutation, bool failMsg, lose_stat(STAT_RANDOM, 1, false, "mutating"); else { - ouch(3, 0, KILLED_BY_ROTTING); + ouch(3, NON_MONSTER, KILLED_BY_ROTTING); rot_hp(roll_dice(1, 3)); } |