diff options
author | Max Horn | 2004-01-05 16:49:14 +0000 |
---|---|---|
committer | Max Horn | 2004-01-05 16:49:14 +0000 |
commit | d834bd9684c6b3f7dc8979086d467446f59ba41b (patch) | |
tree | 264f08ac7fce3d72d00606ae02d6c61a42174c42 /scumm/akos.cpp | |
parent | f506056c3b0fee25445133aa9763fced5a131330 (diff) | |
download | scummvm-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.cpp | 4 |
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; |