diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-11-07 02:00:49 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-11-07 02:00:49 +0100 |
commit | 1b8fbb792b9dfcd106648f19283ab563f0c72573 (patch) | |
tree | 2f53840b2021e0e4566ed39029a809608b7a53a9 /crawl-ref/source/mon-place.h | |
parent | 2d0488338ac2a0388167c9e8b73766ae8af1e8d4 (diff) | |
download | crawl-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.h | 5 |
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; |