summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 09:31:20 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 09:31:20 +0000
commit0465fe0800f27cb9df0f7dd32f3decb3b20f9edb (patch)
tree1135021f3a975d630da28351f5b80c3dab806cef /crawl-ref/source/tags.cc
parent19cd11e35e3481c93e39c8ed8072c338d0bb4344 (diff)
downloadcrawl-ref-0465fe0800f27cb9df0f7dd32f3decb3b20f9edb.tar.gz
crawl-ref-0465fe0800f27cb9df0f7dd32f3decb3b20f9edb.zip
[1695733] Fixed buggy cloud crashes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1250 c06c8d41-db1a-0410-9941-cceddc491573
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 deebe42670..b7d6d79fd5 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1529,7 +1529,7 @@ static void tag_read_level( struct tagHeader &th, char minorVersion )
env.map_col[i][j].flags = unmarshallShort(th);
mgrd[i][j] = NON_MONSTER;
- env.cgrid[i][j] = unmarshallByte(th);
+ env.cgrid[i][j] = (unsigned char) unmarshallByte(th);
}
}