diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-20 04:22:08 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-20 04:22:08 +0000 |
commit | 10ab53de10c64e0f284caf9cf737119df1dcfc3c (patch) | |
tree | 7cfb6baacce394056ab71ede247b2d7e527ef720 /crawl-ref/source/monplace.cc | |
parent | 692826c604ef6329c24e2365c3f760b5f2fb99f9 (diff) | |
download | crawl-ref-10ab53de10c64e0f284caf9cf737119df1dcfc3c.tar.gz crawl-ref-10ab53de10c64e0f284caf9cf737119df1dcfc3c.zip |
Bug 1997989: Only dancing weapon were being created in the Abyss if the
player was bansihed from the Hall of Blades.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5995 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, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc index 9e3df59bd1..f5f2d1a0cb 100644 --- a/crawl-ref/source/monplace.cc +++ b/crawl-ref/source/monplace.cc @@ -485,8 +485,11 @@ static monster_type _resolve_monster_type(monster_type mon_type, } } // end proximity check - if (place.branch == BRANCH_HALL_OF_BLADES) + if (place.branch == BRANCH_HALL_OF_BLADES + && place.level_type == LEVEL_DUNGEON) + { mon_type = MONS_DANCING_WEAPON; + } else { // Now pick a monster of the given branch and level. |