diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-11-04 04:47:01 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-11-04 05:14:46 +0100 |
commit | 83f7cf7989a028a78c90a41e445a1d9826186d62 (patch) | |
tree | ea0d65bbd436e15504611c00e6e13d89d1fe3a61 /crawl-ref/source/mapdef.h | |
parent | 6a5ee951ccc35476cf31d2109204a9eee557ddde (diff) | |
download | crawl-ref-83f7cf7989a028a78c90a41e445a1d9826186d62.tar.gz crawl-ref-83f7cf7989a028a78c90a41e445a1d9826186d62.zip |
Rename mons_spec.mlevel to ood, as it's used only for '8' and '9'.
Also, remove the vault monster tag lev: which has never been used.
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r-- | crawl-ref/source/mapdef.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index f213c606ee..20046d42f9 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -635,7 +635,7 @@ class mons_spec mon_attitude_type attitude; int number; // Head count for hydras, etc. int quantity; // Number of monsters (usually 1). - int genweight, mlevel; + int genweight, ood; bool fix_mons; bool generate_awake; bool patrolling; @@ -665,12 +665,10 @@ class mons_spec mons_spec(int t = RANDOM_MONSTER, monster_type base = MONS_NO_MONSTER, - int num = 0, - int gw = 10, int ml = 0, - bool _fixmons = false, bool awaken = false, bool patrol = false) + int num = 0) : type(t), place(), monbase(base), attitude(ATT_HOSTILE), number(num), - quantity(1), genweight(gw), mlevel(ml), fix_mons(_fixmons), - generate_awake(awaken), patrolling(false), band(false), + quantity(1), genweight(10), ood(0), 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(""), non_actor_summoner(""), explicit_spells(false), spells(), |