aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-05 16:49:14 +0000
committerMax Horn2004-01-05 16:49:14 +0000
commitd834bd9684c6b3f7dc8979086d467446f59ba41b (patch)
tree264f08ac7fce3d72d00606ae02d6c61a42174c42 /scumm/akos.cpp
parentf506056c3b0fee25445133aa9763fced5a131330 (diff)
downloadscummvm-rg350-d834bd9684c6b3f7dc8979086d467446f59ba41b.tar.gz
scummvm-rg350-d834bd9684c6b3f7dc8979086d467446f59ba41b.tar.bz2
scummvm-rg350-d834bd9684c6b3f7dc8979086d467446f59ba41b.zip
replace more usages of _screenWidth by more appropriate variables/values
svn-id: r12162
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index bcf6066ecf..18d0d9b888 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -409,7 +409,7 @@ void AkosRenderer::codec1_genericDecode() {
if (v1.scaletable[v1.scaleXindex] < _scaleX) {
v1.x += v1.scaleXstep;
- if (v1.x < 0 || v1.x >= _vm->_screenWidth)
+ if (v1.x < 0 || v1.x >= (int)_outwidth)
return;
maskbit = revBitMask[v1.x & 7];
v1.destptr += v1.scaleXstep;
@@ -1013,7 +1013,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) {
int32 width_unk, height_unk;
height_unk = clip_top;
- int32 pitch = _vm->_screenWidth;
+ int32 pitch = _outwidth;
int32 dir;