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.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index ab9a12043f..aefe3e7e70 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1067,7 +1067,8 @@ static void tag_read_you(struct tagHeader &th, char minorVersion)
count_c = unmarshallByte(th);
for (i = 0; i < count_c; i++)
- you.ability_letter_table[i] = unmarshallShort(th);
+ you.ability_letter_table[i] =
+ static_cast<ability_type>(unmarshallShort(th));
// how many skills?
count_c = unmarshallByte(th);