diff options
Diffstat (limited to 'engines/gob/goblin_v4.cpp')
-rw-r--r-- | engines/gob/goblin_v4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/goblin_v4.cpp b/engines/gob/goblin_v4.cpp index f4b0ecdd20..0b0ff0e4f9 100644 --- a/engines/gob/goblin_v4.cpp +++ b/engines/gob/goblin_v4.cpp @@ -135,7 +135,7 @@ void Goblin_v4::movePathFind(Mult::Mult_Object *obj, Gob_Object *gobDesc, int16 obj->destX = destX; obj->destY = destY; - if (_vm->_map->_widthByte == 4) { + if (_vm->_map->getVersion() == 4) { switch (dir) { case kDirNW: animData->nextState = turnState(animData->state, kDirNW); |