From 12f74fc875b1de8089676ee8e78461f75dce6b00 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Tue, 27 Oct 2009 20:25:02 -0700 Subject: (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. --- crawl-ref/source/effects.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/effects.cc') 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); -- cgit v1.2.3-54-g00ecf