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/spells2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.h') diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h index c1b1ff2c9f..06e4e70452 100644 --- a/crawl-ref/source/spells2.h +++ b/crawl-ref/source/spells2.h @@ -52,7 +52,7 @@ bool cast_summon_swarm(int pow, god_type god = GOD_NO_GOD, bool permanent = false); bool cast_call_canine_familiar(int pow, god_type god = GOD_NO_GOD); bool cast_summon_elemental(int pow, god_type god = GOD_NO_GOD, - monster_type restricted_type = MONS_PROGRAM_BUG, + monster_type restricted_type = MONS_NO_MONSTER, int unfriendly = 2); bool cast_summon_ice_beast(int pow, god_type god = GOD_NO_GOD); bool cast_summon_ugly_thing(int pow, god_type god = GOD_NO_GOD); -- cgit v1.2.3-54-g00ecf