From 4693832f9d2a2ece40217c6adadc5855645312fb Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 8 May 2007 19:29:27 +0000 Subject: Cleaned up ability handling. It's still rather hacky, but not nearly as bad as the old horror. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1425 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tags.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/tags.cc') 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(unmarshallShort(th)); // how many skills? count_c = unmarshallByte(th); -- cgit v1.2.3-54-g00ecf