diff options
| author | Paweł Kołodziejski | 2002-11-06 17:55:44 +0000 |
|---|---|---|
| committer | Paweł Kołodziejski | 2002-11-06 17:55:44 +0000 |
| commit | 85c7c9ffe62c5a059e18fcf6a7c2acf68476d23d (patch) | |
| tree | 2b4809509ae6f5db9907ce7f75e818cdfb0cc422 /scumm/object.cpp | |
| parent | 73452fa331df18d1226db253ab6b9cc87d3d23ea (diff) | |
| download | scummvm-rg350-85c7c9ffe62c5a059e18fcf6a7c2acf68476d23d.tar.gz scummvm-rg350-85c7c9ffe62c5a059e18fcf6a7c2acf68476d23d.tar.bz2 scummvm-rg350-85c7c9ffe62c5a059e18fcf6a7c2acf68476d23d.zip | |
applied patch: #634326, and changed strip ranges for after and before scumm v7,
added comments to saveload
svn-id: r5448
Diffstat (limited to 'scumm/object.cpp')
| -rw-r--r-- | scumm/object.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index cf67337bd7..64a89c8ebd 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -1433,9 +1433,13 @@ void Scumm::removeBlastObject(BlastObject *eo) if (left_strip < 0) left_strip = 0; - if (right_strip >= 409) - right_strip = 409; - + if (_features & GF_AFTER_V7) { + if (right_strip > 409) + right_strip = 409; + } else { + if (right_strip >= 200) + right_strip = 200; + } for (i = left_strip; i <= right_strip; i++) gdi.resetBackground(top, bottom, i); |
