aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tsage/scenes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index f9c26cfbda..bfb6852136 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -401,7 +401,7 @@ void Scene::setZoomPercents(int yStart, int minPercent, int yEnd, int maxPercent
int var_6 = 0;
int v = 0;
while (v < yStart)
- _zoomPercents[v] = minPercent;
+ _zoomPercents[v++] = minPercent;
int diff1 = ABS(maxPercent - minPercent);
int diff2 = ABS(yEnd - yStart);