summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-07 02:00:49 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-07 02:00:49 +0100
commit1b8fbb792b9dfcd106648f19283ab563f0c72573 (patch)
tree2f53840b2021e0e4566ed39029a809608b7a53a9 /crawl-ref/source/mon-place.h
parent2d0488338ac2a0388167c9e8b73766ae8af1e8d4 (diff)
downloadcrawl-ref-1b8fbb792b9dfcd106648f19283ab563f0c72573.tar.gz
crawl-ref-1b8fbb792b9dfcd106648f19283ab563f0c72573.zip
Fix vault OODness being applied twice.
When we had separate power/monster_level and place, the code redundantly applied OOD logic to both, making them be in sync.
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r--crawl-ref/source/mon-place.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h
index e06e57120f..ef870e27de 100644
--- a/crawl-ref/source/mon-place.h
+++ b/crawl-ref/source/mon-place.h
@@ -57,15 +57,12 @@ void define_zombie(monster* mon, monster_type ztype, monster_type cs);
bool downgrade_zombie_to_skeleton(monster* mon);
// Picks a monster eligible for random generation at the given place,
-// optionally picking monsters that can be zombified into the target zombie,
-// and optionally increasing monster level by the provided OOD factors.
+// optionally picking monsters that can be zombified into the target zombie.
//
// If want_corpse_capable is true, only monsters that can leave corpses
// will be considered.
monster_type pick_random_monster_for_place(const level_id &place,
monster_type zombie_monster,
- bool moderate_ood,
- bool super_ood,
bool want_corpse_capable);
class level_id;