diff options
-rw-r--r-- | engines/saga/actor.cpp | 2 | ||||
-rw-r--r-- | engines/saga/saga.cpp | 2 | ||||
-rw-r--r-- | engines/saga/sfuncs.cpp | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp index 6ea8674e8e..8527f1801b 100644 --- a/engines/saga/actor.cpp +++ b/engines/saga/actor.cpp @@ -1626,6 +1626,8 @@ void Actor::handleActions(int msec, bool setup) { } } } + // Update frameCount for sfWaitFrames in IHNM + _vm->_frameCount++; } void Actor::direct(int msec) { diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 784b9278ca..3ce0e08d9c 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -295,8 +295,6 @@ int SagaEngine::go() { // Per frame processing _render->drawScene(); _system->delayMillis(10); - // Update frameCount for sfWaitFrames in IHNM - _frameCount++; } return 0; diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 28dfb4f6f7..5190537db8 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -1887,6 +1887,7 @@ void Script::sfResetMouseClicks(SCRIPTFUNC_PARAMS) { SF_stub("sfResetMouseClicks", thread, nArgs); } +// Used in IHNM only // Param1: frames void Script::sfWaitFrames(SCRIPTFUNC_PARAMS) { int16 frames; |