aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/game.cpp')
-rw-r--r--engines/cge/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/game.cpp b/engines/cge/game.cpp
index 25af315d98..4102e080b6 100644
--- a/engines/cge/game.cpp
+++ b/engines/cge/game.cpp
@@ -83,9 +83,9 @@ void FLY::Tick(void) {
Tx = new_random(3) - 1;
Ty = new_random(3) - 1;
}
- if (X + Tx < L || X + Tx + W > R)
+ if (X + Tx < L || X + Tx + W > R)
Tx = -Tx;
- if (Y + Ty < T || Y + Ty + H > B)
+ if (Y + Ty < T || Y + Ty + H > B)
Ty = -Ty;
Goto(X + Tx, Y + Ty);
}