aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 8ffe3ae7d5..2a5e0e71d0 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1158,24 +1158,24 @@ void Scumm::buildStripOffsets() {
_egaStripZRun[x] = length | 0x80;
}
if (--y == 0) {
- if (--room_width == 0)
+ if (--room_width == 0)
return;
x++;
- y = 128;
+ y = 128;
}
} while (--length);
} else {
- do {
+ do {
data = *zplane++;
if (y == 128) {
_egaStripZOffsets[x] = zplane - roomptr - 1;
_egaStripZRun[x] = length;
}
if (--y == 0) {
- if (--room_width == 0)
+ if (--room_width == 0)
return;
x++;
- y = 128;
+ y = 128;
}
} while (--length);
}