summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2010-10-03 19:40:46 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2010-10-03 19:40:46 -0500
commite82723e3edb6a529274b039f9c8e18f859369172 (patch)
tree3a344c96786f87d6fe851175382eecd0ffcecb86 /crawl-ref/source/mgen_data.h
parentd62579eda4b5daf7947426d6e72f127e5f4f8951 (diff)
downloadcrawl-ref-e82723e3edb6a529274b039f9c8e18f859369172.tar.gz
crawl-ref-e82723e3edb6a529274b039f9c8e18f859369172.zip
Fix *actual* type mismatch in mgen_data::mgen_data().
The flags parameter in mgen_data::mgen_data() is unsigned int, but the monflags parameter that initializes it in the constructor was uint64_t.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r--crawl-ref/source/mgen_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index aa47ebbab0..0a41f8627d 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -122,7 +122,7 @@ struct mgen_data
int st = 0,
const coord_def &p = coord_def(-1, -1),
unsigned short mfoe = MHITNOT,
- uint64_t monflags = 0,
+ unsigned monflags = 0,
god_type which_god = GOD_NO_GOD,
monster_type base = MONS_NO_MONSTER,
int monnumber = 0,