diff options
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index b494a0031d..007dc9036a 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -2172,7 +2172,7 @@ static void unmarshall_monster(reader &th, monsters &m) unmarshallSpells(th, m.spells); - m.god = (god_type) unmarshallByte(th); + m.god = static_cast<god_type>( unmarshallByte(th) ); if (m.type == MONS_PLAYER_GHOST || m.type == MONS_PANDEMONIUM_DEMON) m.set_ghost( unmarshallGhost(th) ); |