aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/vga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/simon/vga.cpp')
-rw-r--r--engines/simon/vga.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index 364118360f..18b07bee0a 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -1863,7 +1863,7 @@ void SimonEngine::vc48_setPathFinder() {
int16 x, x2, y, y1, y2, ydiff;
uint pos = 0;
- while(vsp->x > readUint16Wrapper(p + 2)) {
+ while (vsp->x >= readUint16Wrapper(p + 2)) {
p += 2;
pos++;
}