summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-04 23:02:18 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-04 23:02:18 +0000
commitae8b9d93ae9dfe0df789c4867fbd5aeff695c6df (patch)
tree4a0695dac4cc6a127d5ace7163c598af7ea596cb /crawl-ref/source/tags.cc
parente286813813d43276645532721311960f8178faa7 (diff)
downloadcrawl-ref-ae8b9d93ae9dfe0df789c4867fbd5aeff695c6df.tar.gz
crawl-ref-ae8b9d93ae9dfe0df789c4867fbd5aeff695c6df.zip
Better feedback for Beogh water walking.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1751 c06c8d41-db1a-0410-9941-cceddc491573
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 159b82bd05..41de4143fc 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1214,7 +1214,8 @@ static void tag_read_you_items(struct tagHeader &th, char minorVersion)
// how many unique items?
count_c = unmarshallByte(th);
for (j = 0; j < count_c; ++j)
- you.unique_items[j] = unmarshallByte(th);
+ you.unique_items[j] =
+ static_cast<unique_item_status_type>(unmarshallByte(th));
// how many books?
count_c = unmarshallByte(th);