From e73faeee681a904751db28456a1320b74232ce43 Mon Sep 17 00:00:00 2001 From: sylvaintv Date: Thu, 19 Mar 2015 21:42:08 +0100 Subject: TOON: Add options menu - Add options menu when pressing F1 - Add in-game font change --- engines/toon/character.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/toon/character.cpp') diff --git a/engines/toon/character.cpp b/engines/toon/character.cpp index 686fe99beb..3d7beeeafe 100644 --- a/engines/toon/character.cpp +++ b/engines/toon/character.cpp @@ -226,6 +226,11 @@ bool Character::walkTo(int16 newPosX, int16 newPosY) { } setFacing(getFacingFromDirection(smoothDx, smoothDy)); + if (_currentWalkStamp != localWalkStamp) { + // another walkTo was started in setFacing, we need to cancel this one. + return false; + } + playWalkAnim(0, 0); } -- cgit v1.2.3