aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/motion.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-02 18:43:36 +0100
committerJohannes Schickel2016-02-02 20:15:18 +0100
commit6778175f6d2ba33565b15d3b94c8eea4b0ec3215 (patch)
tree9bd26262ae254315531c61cb055e0a238b79cfa1 /engines/agi/motion.cpp
parent9ad3712aa30944fa3bdc5e03eb87499daf626592 (diff)
downloadscummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.tar.gz
scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.tar.bz2
scummvm-rg350-6778175f6d2ba33565b15d3b94c8eea4b0ec3215.zip
AGI: Fix formatting.
This mostly enforces tabs for indentation and spaces for formatting. But also fixes spaces on empty lines, some extra/missing spaces. astyle + manual fixup
Diffstat (limited to 'engines/agi/motion.cpp')
-rw-r--r--engines/agi/motion.cpp4
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);
}
}