diff options
author | Max Horn | 2004-01-04 14:49:14 +0000 |
---|---|---|
committer | Max Horn | 2004-01-04 14:49:14 +0000 |
commit | 1081c789a2f4e0651b1be1f7ea577de20185a30c (patch) | |
tree | 3efb9d8147dd48e363a1cdb930918a75de6c8ed8 /scumm/gfx.cpp | |
parent | 2ce4d13c048ec5b2cec8fd78071a39d14888af63 (diff) | |
download | scummvm-rg350-1081c789a2f4e0651b1be1f7ea577de20185a30c.tar.gz scummvm-rg350-1081c789a2f4e0651b1be1f7ea577de20185a30c.tar.bz2 scummvm-rg350-1081c789a2f4e0651b1be1f7ea577de20185a30c.zip |
cleanup
svn-id: r12139
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index d6e74f5074..bbbdad8360 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -170,7 +170,7 @@ Gdi::Gdi(ScummEngine *vm) { _roomPalette += 16; } -void ScummEngine::initScreens(int b, int w, int h) { +void ScummEngine::initScreens(int b, int h) { int i; for (i = 0; i < 3; i++) { @@ -2264,7 +2264,7 @@ void ScummEngine::transitionEffect(int a) { b = tab_2[i * 4 + 3]; if (t == b) { while (l <= r) { - if (l >= 0 && l < gdi._numStrips && (uint) t < (uint) bottom) { + if (l >= 0 && l < gdi._numStrips && t < bottom) { virtscr[0].tdirty[l] = t * 8; /* //HACK: this is bad place of this hack @@ -2272,10 +2272,10 @@ void ScummEngine::transitionEffect(int a) { //this is only for maniac classic version becouse that game //has bigger height of room gfx layer if ((_version == 1) && (_gameId == GID_MANIAC)) - virtscr[0].bdirty[l] = (t + 2) * 8; + virtscr[0].bdirty[l] = (b + 2) * 8; else */ - virtscr[0].bdirty[l] = (t + 1) * 8; + virtscr[0].bdirty[l] = (b + 1) * 8; } l++; } |