summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-20 02:17:46 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-20 20:27:50 +0200
commit0fe9a9e87802e7f3a29558301f20ae3d83155118 (patch)
tree67773404d51be8c11493adbb760e5b2d5f28a42c /crawl-ref/source/mgen_data.h
parent0fa67c59d6d763d68b570f015f93f746529b57ff (diff)
downloadcrawl-ref-0fe9a9e87802e7f3a29558301f20ae3d83155118.tar.gz
crawl-ref-0fe9a9e87802e7f3a29558301f20ae3d83155118.zip
Make a few flag types use non-ambiguous storage.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r--crawl-ref/source/mgen_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index fa08c8069b..d1376d1564 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -99,7 +99,7 @@ struct mgen_data
// These flags will be appended to the monster's flags after placement.
// These flags are MF_XXX, rather than MG_XXX flags.
- unsigned long extra_flags;
+ uint64_t extra_flags;
// XXX: Rather hackish.
std::string mname;
@@ -118,7 +118,7 @@ struct mgen_data
int st = 0,
const coord_def &p = coord_def(-1, -1),
unsigned short mfoe = MHITNOT,
- unsigned monflags = 0,
+ uint64_t monflags = 0,
god_type which_god = GOD_NO_GOD,
monster_type base = MONS_NO_MONSTER,
int monnumber = 0,
@@ -127,7 +127,7 @@ struct mgen_data
proximity_type prox = PROX_ANYWHERE,
level_area_type ltype = you.level_type,
int mhd = 0, int mhp = 0,
- unsigned long mflags = 0,
+ uint64_t mflags = 0,
std::string monname = "",
std::string nas = "")