aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/staticres.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-05-18 20:28:08 +0000
committerFlorian Kagerer2009-05-18 20:28:08 +0000
commitd66365f376f2939c53243f58f745d853ecd708cd (patch)
treec75e35c4c4ad4854e758f213dd7374327680c3be /engines/kyra/staticres.cpp
parent68b3cc89aed973640a5be3b394cf0effeff8b9c5 (diff)
downloadscummvm-rg350-d66365f376f2939c53243f58f745d853ecd708cd.tar.gz
scummvm-rg350-d66365f376f2939c53243f58f745d853ecd708cd.tar.bz2
scummvm-rg350-d66365f376f2939c53243f58f745d853ecd708cd.zip
LOL: fixed automap
svn-id: r40701
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r--engines/kyra/staticres.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index c4e193f87f..2d75705a9b 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -1844,7 +1844,7 @@ void LoLEngine::initStaticResource() {
for (int i = 0; i < tmpSize; i++) {
_defaultLegendData[i].shapeIndex = *tmp++;
_defaultLegendData[i].enable = *tmp++ ? true : false;
- _defaultLegendData[i].x = *tmp++;
+ _defaultLegendData[i].x = (int8)*tmp++;
_defaultLegendData[i].stringId = READ_LE_UINT16(tmp);
tmp += 2;
}