summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-27 20:25:02 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-27 20:25:02 -0700
commit12f74fc875b1de8089676ee8e78461f75dce6b00 (patch)
treeeddd66768492bc9cbd3e399611d539d5179b9b27 /crawl-ref/source/effects.cc
parentd45dd6b1991b9c403bc7b9b2c9180ba8a6c54753 (diff)
downloadcrawl-ref-12f74fc875b1de8089676ee8e78461f75dce6b00.tar.gz
crawl-ref-12f74fc875b1de8089676ee8e78461f75dce6b00.zip
(MONS_PROGRAM_BUG || -1) --> MONS_NO_MONSTER
Change MONS_PROGRAM_BUG to MONS_NO_MONSTER when "no monster" is what was meant. Now all instances of MONS_PROGRAM_BUG should indicated some sort of failure or error. Also, fixed some places which were still using -1 instead of MONS_NO_MONSTER.
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 770eb74959..a73b69d800 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2703,7 +2703,7 @@ static void _hell_effects()
int temp_rand = random2(17);
spschool_flag_type which_miscast = SPTYP_RANDOM;
bool summon_instead = false;
- monster_type which_beastie = MONS_PROGRAM_BUG;
+ monster_type which_beastie = MONS_NO_MONSTER;
mpr((temp_rand == 0) ? "\"You will not leave this place.\"" :
(temp_rand == 1) ? "\"Die, mortal!\"" :
@@ -4409,7 +4409,7 @@ static int _mushroom_ring(item_def &corpse, int & seen_count)
MHITNOT,
MG_FORCE_PLACE,
GOD_NO_GOD,
- MONS_PROGRAM_BUG,
+ MONS_NO_MONSTER,
0,
corpse.colour);
@@ -4502,7 +4502,7 @@ int spawn_corpse_mushrooms(item_def &corpse,
MHITNOT,
MG_FORCE_PLACE,
GOD_NO_GOD,
- MONS_PROGRAM_BUG,
+ MONS_NO_MONSTER,
0,
corpse.colour),
false);