aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-30 06:08:32 +0000
committerPaweł Kołodziejski2003-04-30 06:08:32 +0000
commit0bf32a89f348f533bd42495e5fea3e0e6ffc16c5 (patch)
treec2b7d6e6fbeb75d4990815b140bc1eb6f579d746 /scumm/gfx.cpp
parentf97568e5780dc990d457c184ed4e7906392dd0c9 (diff)
downloadscummvm-rg350-0bf32a89f348f533bd42495e5fea3e0e6ffc16c5.tar.gz
scummvm-rg350-0bf32a89f348f533bd42495e5fea3e0e6ffc16c5.tar.bz2
scummvm-rg350-0bf32a89f348f533bd42495e5fea3e0e6ffc16c5.zip
small cleanup
svn-id: r7212
Diffstat (limited to 'scumm/gfx.cpp')
-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);
}