diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2010-10-03 19:26:21 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2010-10-03 19:26:21 -0500 |
commit | 4f45919f3dedc18a2aed6a22d152ceac6d1f6b85 (patch) | |
tree | 9d133374d9a6397f69bee8e5d7d254ff22db48a2 /crawl-ref/source/mgen_data.h | |
parent | f2acd80336193d116f7f08c2d1dda07d83d254be (diff) | |
download | crawl-ref-4f45919f3dedc18a2aed6a22d152ceac6d1f6b85.tar.gz crawl-ref-4f45919f3dedc18a2aed6a22d152ceac6d1f6b85.zip |
Fix type mismatch in mgen_data::hostile_at().
The monflags parameter in mgen_data::mgen_data() is uint64_t, but the
monflags parameter in mgen_data::hostile_at(), which it passed to
mgen_data::mgen_data(), was still unsigned int.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r-- | crawl-ref/source/mgen_data.h | 2 |
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..25d75185dc 100644 --- a/crawl-ref/source/mgen_data.h +++ b/crawl-ref/source/mgen_data.h @@ -170,7 +170,7 @@ struct mgen_data int abj = 0, int st = 0, const coord_def &p = coord_def(-1, -1), - unsigned monflags = 0, + uint64_t monflags = 0, god_type ngod = GOD_NO_GOD, monster_type base = MONS_NO_MONSTER) |