diff options
-rw-r--r-- | engines/toon/character.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/toon/character.cpp b/engines/toon/character.cpp index 69051d45fd..e63bc912c4 100644 --- a/engines/toon/character.cpp +++ b/engines/toon/character.cpp @@ -166,8 +166,9 @@ bool Character::walkTo(int32 newPosX, int32 newPosY) { _vm->getPathFinding()->resetBlockingRects(); - if (_id == 1) { - int32 sizeX = MAX<int32>(5, 40 * _vm->getDrew()->getScale() / 1024); + // don't allow flux to go at the same position as drew + if (_id == 1 ) { + int32 sizeX = MAX<int32>(5, 30 * _vm->getDrew()->getScale() / 1024); int32 sizeY = MAX<int32>(2, 20 * _vm->getDrew()->getScale() / 1024); _vm->getPathFinding()->addBlockingEllipse(_vm->getDrew()->getFinalX(), _vm->getDrew()->getFinalY(), sizeX, sizeY); } |