diff options
Diffstat (limited to 'engines/agi/motion.cpp')
-rw-r--r-- | engines/agi/motion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/motion.cpp b/engines/agi/motion.cpp index ad6f6cb6b7..7f49028701 100644 --- a/engines/agi/motion.cpp +++ b/engines/agi/motion.cpp @@ -74,7 +74,7 @@ void AgiEngine::motionWander(ScreenObjEntry *screenObj) { } while (screenObj->wander_count < 6) { - screenObj->wander_count = _rnd->getRandomNumber(50); // huh? + screenObj->wander_count = _rnd->getRandomNumber(50); // huh? } } } @@ -185,7 +185,7 @@ void AgiEngine::checkAllMotions() { for (screenObj = _game.screenObjTable; screenObj < &_game.screenObjTable[SCREENOBJECTS_MAX]; screenObj++) { if ((screenObj->flags & (fAnimated | fUpdate | fDrawn)) == (fAnimated | fUpdate | fDrawn) - && screenObj->stepTimeCount == 1) { + && screenObj->stepTimeCount == 1) { checkMotion(screenObj); } } |