diff options
author | Sven Hesse | 2009-09-01 21:16:12 +0000 |
---|---|---|
committer | Sven Hesse | 2009-09-01 21:16:12 +0000 |
commit | 20d93e494a15286e9f1b19f7e6814c7467b2d781 (patch) | |
tree | 2916753d2cc86377d38bb9747942dae8a5f6693a | |
parent | eaedf892e66e4f120a2c799cb776bf663d5377fe (diff) | |
download | scummvm-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
-rw-r--r-- | engines/gob/map_v2.cpp | 2 |
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; |