diff options
author | Paweł Kołodziejski | 2003-04-19 06:37:42 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-04-19 06:37:42 +0000 |
commit | 4ca9454f869a8f88a7e260e3c65f4c36578d6dd4 (patch) | |
tree | f93b7b9c62653934da024744ed61c94657d31872 /scumm/costume.cpp | |
parent | d0e9fef9a2596f580181990d996d477b70c8182e (diff) | |
download | scummvm-rg350-4ca9454f869a8f88a7e260e3c65f4c36578d6dd4.tar.gz scummvm-rg350-4ca9454f869a8f88a7e260e3c65f4c36578d6dd4.tar.bz2 scummvm-rg350-4ca9454f869a8f88a7e260e3c65f4c36578d6dd4.zip |
ignorePakCols, should be used for ega games, why not for amiga? i don't see difference
svn-id: r7020
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r-- | scumm/costume.cpp | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 50192f54ad..9f6d2a29a9 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -86,7 +86,7 @@ byte CostumeRenderer::mainRoutine(int slot, int frame) { byte newAmiCost; int ex1, ex2; - newAmiCost = (_vm->_gameId == GID_MONKEY2 || _vm->_gameId == GID_INDY4) && ((_vm->_features & GF_AMIGA) || (_vm->_features & GF_16COLOR)); + newAmiCost = (_vm->_features & GF_AMIGA) || (_vm->_features & GF_16COLOR); CHECK_HEAP _maskval = 0xF; @@ -226,12 +226,10 @@ byte CostumeRenderer::mainRoutine(int slot, int frame) { if (scaling == 0) s = -_xpos; if (s > 0) { - if (!newAmiCost) { - _width2 -= s; - ignorePakCols(s); - _xpos = 0; - _docontinue = 1; - } + _width2 -= s; + ignorePakCols(s); + _xpos = 0; + _docontinue = 1; } else { s = _right - _vm->_realWidth; if (s <= 0) { @@ -245,12 +243,10 @@ byte CostumeRenderer::mainRoutine(int slot, int frame) { if (scaling == 0) s = _right - _vm->_realWidth; if (s > 0) { - if (!newAmiCost) { - _width2 -= s; - ignorePakCols(s); - _xpos = _vm->_realWidth - 1; - _docontinue = 1; - } + _width2 -= s; + ignorePakCols(s); + _xpos = _vm->_realWidth - 1; + _docontinue = 1; } else { s = -1 - _left; if (s <= 0) |