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/godabil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/godabil.cc') diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc index 96a5c0395c..cb6499325d 100644 --- a/crawl-ref/source/godabil.cc +++ b/crawl-ref/source/godabil.cc @@ -248,7 +248,7 @@ void yred_make_enslaved_soul(monsters *mon, bool force_hostile, { mon->type = mons_zombie_size(soul_type) == Z_BIG ? MONS_ABOMINATION_LARGE : MONS_ABOMINATION_SMALL; - mon->base_monster = MONS_PROGRAM_BUG; + mon->base_monster = MONS_NO_MONSTER; } else { -- cgit v1.2.3-54-g00ecf