summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-11-07 02:09:20 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-11-07 02:09:20 +0100
commit42b86009589fb96235b2d4c93b96c2d9b7fc81c9 (patch)
treeb36865941e8f1b3f769048c344280d1a5114c782 /crawl-ref/source/mapdef.h
parent1b8fbb792b9dfcd106648f19283ab563f0c72573 (diff)
downloadcrawl-ref-42b86009589fb96235b2d4c93b96c2d9b7fc81c9.tar.gz
crawl-ref-42b86009589fb96235b2d4c93b96c2d9b7fc81c9.zip
Handle vault OODs via a monster_type enum rather than an additional field.
Draconians/etc do this; there's no need to keep remnants of level there.
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index a95b2ccde2..4ee7652f1b 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -631,7 +631,7 @@ class mons_spec
mon_attitude_type attitude;
int number; // Head count for hydras, etc.
int quantity; // Number of monsters (usually 1).
- int genweight, ood;
+ int genweight;
bool fix_mons;
bool generate_awake;
bool patrolling;
@@ -663,7 +663,7 @@ class mons_spec
monster_type base = MONS_NO_MONSTER,
int num = 0)
: type(t), place(), monbase(base), attitude(ATT_HOSTILE), number(num),
- quantity(1), genweight(10), ood(0), fix_mons(false),
+ quantity(1), genweight(10), fix_mons(false),
generate_awake(false), patrolling(false), band(false),
colour(BLACK), god(GOD_NO_GOD), god_gift(false), hd(0), hp(0),
abjuration_duration(0), summon_type(0), items(), monname(""),