diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 03:41:34 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-09 03:41:34 +0000 |
commit | c15760bd3d76ec0e893e21cdf4793936102f1fa6 (patch) | |
tree | 6344396817beac9848aec8bf149d6466a906dc71 /crawl-ref/source/monplace.cc | |
parent | 7ea1d488da8e25508c91a9fdd315db4d232e70ad (diff) | |
download | crawl-ref-c15760bd3d76ec0e893e21cdf4793936102f1fa6.tar.gz crawl-ref-c15760bd3d76ec0e893e21cdf4793936102f1fa6.zip |
Fix the name of Lernaean hydra zombies by adding special handling for named
hydras; kind of hackish.
During arena mode don't give "You see a puff of smoke" message if the arena
vetoed the placement of a monster, don't brand item stacks, and always
use full names for zombified uniques.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8348 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r-- | crawl-ref/source/monplace.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 01556be79b..8032d753c9 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -2430,7 +2430,12 @@ int create_monster(mgen_data mg, bool fail_msg) } if (in_bounds(mg.pos)) + { summd = mons_place(mg); + // If the arena vetoed the placement then give no fail message. + if (crawl_state.arena) + fail_msg = false; + } // Determine whether creating a monster is successful (summd != -1) {dlb}: // then handle the outcome. {dlb}: |