summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index c0fda9258e..767675f544 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -995,7 +995,7 @@ static void tag_read_you(struct tagHeader &th, char minorVersion)
you.where_are_you = static_cast<branch_type>( unmarshallByte(th) );
you.char_direction = unmarshallByte(th);
you.your_level = unmarshallByte(th);
- you.is_undead = unmarshallByte(th);
+ you.is_undead = static_cast<undead_state_type>(unmarshallByte(th));
you.special_wield = unmarshallByte(th);
you.berserker = unmarshallByte(th);
you.berserk_penalty = unmarshallByte(th);