aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/toon.cpp
diff options
context:
space:
mode:
authorSylvain Dupont2010-11-13 01:15:37 +0000
committerSylvain Dupont2010-11-13 01:15:37 +0000
commit698f4c2b45221825e8d2996308dcd537d1a83a5f (patch)
treee20c27ede12cb1996c753dd824b708514dfba773 /engines/toon/toon.cpp
parent405fd0b5eb17dde8ac9c24572f6074f2b774ee66 (diff)
downloadscummvm-rg350-698f4c2b45221825e8d2996308dcd537d1a83a5f.tar.gz
scummvm-rg350-698f4c2b45221825e8d2996308dcd537d1a83a5f.tar.bz2
scummvm-rg350-698f4c2b45221825e8d2996308dcd537d1a83a5f.zip
TOON: Walk animation improved
Smoothing direction changes. Still needs to be polished though. svn-id: r54221
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r--engines/toon/toon.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index f80d6678d2..225f9e9484 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -489,8 +489,6 @@ void ToonEngine::doFrame() {
render();
int32 currentTimer = _system->getMillis();
-// Strangerke - Commented (not used)
-// int32 elapsedTime = currentTimer - _oldTimer;
update(currentTimer - _oldTimer);
_oldTimer = currentTimer;
@@ -1183,7 +1181,7 @@ void ToonEngine::loadScene(int32 SceneId, bool forGameLoad) {
waitForScriptStep();
if (_gameState->_nextSpecialEnterX != -1 && _gameState->_nextSpecialEnterY != -1) {
- _drew->setPosition(_gameState->_nextSpecialEnterX, _gameState->_nextSpecialEnterY);
+ _drew->forcePosition(_gameState->_nextSpecialEnterX, _gameState->_nextSpecialEnterY);
_gameState->_nextSpecialEnterX = -1;
_gameState->_nextSpecialEnterY = -1;
}