diff options
author | Filippos Karapetis | 2007-06-03 02:39:44 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-03 02:39:44 +0000 |
commit | 3ba184b21f31e24f58a594b82ef72cc05802d822 (patch) | |
tree | fce017786fe583a29a6fa22f43dd8675ea4ece1d /engines/saga | |
parent | 476088e8224ff484c55418c94756fec98f20d24f (diff) | |
download | scummvm-rg350-3ba184b21f31e24f58a594b82ef72cc05802d822.tar.gz scummvm-rg350-3ba184b21f31e24f58a594b82ef72cc05802d822.tar.bz2 scummvm-rg350-3ba184b21f31e24f58a594b82ef72cc05802d822.zip |
Moved the updating of framecount to a more appropriate place
svn-id: r27060
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/actor.cpp | 4 | ||||
-rw-r--r-- | engines/saga/saga.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/engines/saga/actor.cpp b/engines/saga/actor.cpp index 5b9b05f908..6ea8674e8e 100644 --- a/engines/saga/actor.cpp +++ b/engines/saga/actor.cpp @@ -1811,10 +1811,6 @@ void Actor::drawActors() { createDrawOrderList(); - // Update frameCount for sfWaitFrames in IHNM - // TODO: is this the correct place to do this? - _vm->_frameCount++; - for (drawOrderIterator = _drawOrderList.begin(); drawOrderIterator != _drawOrderList.end(); ++drawOrderIterator) { drawObject = drawOrderIterator.operator*(); diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 3ce0e08d9c..784b9278ca 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -295,6 +295,8 @@ int SagaEngine::go() { // Per frame processing _render->drawScene(); _system->delayMillis(10); + // Update frameCount for sfWaitFrames in IHNM + _frameCount++; } return 0; |