summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.h
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/monplace.h
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/monplace.h')
-rw-r--r--crawl-ref/source/monplace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monplace.h b/crawl-ref/source/monplace.h
index 9d97a84365..61f9c8b630 100644
--- a/crawl-ref/source/monplace.h
+++ b/crawl-ref/source/monplace.h
@@ -114,7 +114,7 @@ struct mgen_data
// If the monster is zombie-like, or a specialised draconian, this
// is the base monster that the monster is based on - should be
- // set to MONS_PROGRAM_BUG when not used.
+ // set to MONS_NO_MONSTER when not used.
monster_type base_type;
// Determines the behaviour of the monster after it is generated. This
@@ -191,7 +191,7 @@ struct mgen_data
unsigned short mfoe = MHITNOT,
unsigned monflags = 0,
god_type which_god = GOD_NO_GOD,
- monster_type base = MONS_PROGRAM_BUG,
+ monster_type base = MONS_NO_MONSTER,
int monnumber = 0,
int moncolour = BLACK,
int monpower = you.your_level,