aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-08-25 14:54:32 +0000
committerMax Horn2003-08-25 14:54:32 +0000
commit95b85581910a02dfe102fbbf1a30a56b20b2073a (patch)
tree93e459c143d3cbfa9dc268faec86cd9e74a733ca /scumm
parent953e4216b80decd6e658ed4efa266ad73a7b0955 (diff)
downloadscummvm-rg350-95b85581910a02dfe102fbbf1a30a56b20b2073a.tar.gz
scummvm-rg350-95b85581910a02dfe102fbbf1a30a56b20b2073a.tar.bz2
scummvm-rg350-95b85581910a02dfe102fbbf1a30a56b20b2073a.zip
check for costume format, not engine version
svn-id: r9860
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 96127e57d9..c40b8177aa 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -212,7 +212,7 @@ byte CostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) {
if (!use_scaling)
skip = -v1.x;
if (skip > 0) {
- if (!newAmiCost && _vm->_version > 1) {
+ if (!newAmiCost && _loaded._format != 0x57) {
v1.skip_width -= skip;
codec1_ignorePakCols(skip);
v1.x = 0;
@@ -229,7 +229,7 @@ byte CostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) {
if (!use_scaling)
skip = x_right - _vm->_screenWidth;
if (skip > 0) {
- if (!newAmiCost && _vm->_version > 1) {
+ if (!newAmiCost && _loaded._format != 0x57) {
v1.skip_width -= skip;
codec1_ignorePakCols(skip);
v1.x = _vm->_screenWidth - 1;