diff options
author | Borja Lorente | 2016-07-18 19:16:13 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:55:17 +0200 |
commit | 09a4a4ac39f0cdaf7f8f78eb35ccadcb2cf1b467 (patch) | |
tree | 8a706f3f2ef993241a5e0ed81bda43ca4a194b4c /engines/macventure/world.cpp | |
parent | 014d1b7dcbb27b9db35a02be99338d3525e72349 (diff) | |
download | scummvm-rg350-09a4a4ac39f0cdaf7f8f78eb35ccadcb2cf1b467.tar.gz scummvm-rg350-09a4a4ac39f0cdaf7f8f78eb35ccadcb2cf1b467.tar.bz2 scummvm-rg350-09a4a4ac39f0cdaf7f8f78eb35ccadcb2cf1b467.zip |
MACVENTURE: Fix image to allow mask attributes
Diffstat (limited to 'engines/macventure/world.cpp')
-rw-r--r-- | engines/macventure/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/macventure/world.cpp b/engines/macventure/world.cpp index ab35226aa0..e6efeb5598 100644 --- a/engines/macventure/world.cpp +++ b/engines/macventure/world.cpp @@ -41,7 +41,7 @@ World::~World() { uint32 World::getObjAttr(ObjID objID, uint32 attrID) { - int res; + uint res; uint32 index = _engine->getGlobalSettings().attrIndices[attrID]; // HACK, but if I try to initialize it in the else clause, it goes out of scope and segfaults Common::SeekableReadStream *objStream = _objectConstants->getItem(objID); |