diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-27 20:25:02 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-27 20:25:02 -0700 |
commit | 12f74fc875b1de8089676ee8e78461f75dce6b00 (patch) | |
tree | eddd66768492bc9cbd3e399611d539d5179b9b27 /crawl-ref/source/it_use3.cc | |
parent | d45dd6b1991b9c403bc7b9b2c9180ba8a6c54753 (diff) | |
download | crawl-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/it_use3.cc')
-rw-r--r-- | crawl-ref/source/it_use3.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index a18b5627f6..f059f78805 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -584,7 +584,7 @@ static bool _box_of_beasts(item_def &box) if (x_chance_in_y(60 + you.skills[SK_EVOCATIONS], 100)) { - monster_type beasty = MONS_PROGRAM_BUG; + monster_type beasty = MONS_NO_MONSTER; // If you worship a good god, don't summon an evil beast (in // this case, the hell hound). |