aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/map_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-09-01 21:16:12 +0000
committerSven Hesse2009-09-01 21:16:12 +0000
commit20d93e494a15286e9f1b19f7e6814c7467b2d781 (patch)
tree2916753d2cc86377d38bb9747942dae8a5f6693a /engines/gob/map_v2.cpp
parenteaedf892e66e4f120a2c799cb776bf663d5377fe (diff)
downloadscummvm-rg350-20d93e494a15286e9f1b19f7e6814c7467b2d781.tar.gz
scummvm-rg350-20d93e494a15286e9f1b19f7e6814c7467b2d781.tar.bz2
scummvm-rg350-20d93e494a15286e9f1b19f7e6814c7467b2d781.zip
Making another variable offset unsigned, since it overflows int16
svn-id: r43900
Diffstat (limited to 'engines/gob/map_v2.cpp')
-rw-r--r--engines/gob/map_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/map_v2.cpp b/engines/gob/map_v2.cpp
index 42565161e3..56482287f7 100644
--- a/engines/gob/map_v2.cpp
+++ b/engines/gob/map_v2.cpp
@@ -47,7 +47,7 @@ Map_v2::~Map_v2() {
void Map_v2::loadMapObjects(const char *avjFile) {
uint8 wayPointsCount;
- int16 var;
+ uint16 var;
int16 id;
int16 mapWidth, mapHeight;
int16 tmp;