aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-27 09:06:20 +0000
committerPaweł Kołodziejski2002-10-27 09:06:20 +0000
commit9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa (patch)
tree6225d0a8f922cf64b6f49aef9f4a7877dfc459fe /scumm/object.cpp
parent9c0959680286936d6e13f778c1f5f98781ae16ba (diff)
downloadscummvm-rg350-9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa.tar.gz
scummvm-rg350-9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa.tar.bz2
scummvm-rg350-9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa.zip
removed hardcoded values and increased range of strips
svn-id: r5329
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index a27ea03f9e..11246ad16c 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -1298,8 +1298,8 @@ void Scumm::removeBlastObject(BlastObject *eo)
if (left_strip < 0)
left_strip = 0;
- if (right_strip >= 200)
- right_strip = 200;
+ if (right_strip >= 240)
+ right_strip = 240;
for (i = left_strip; i <= right_strip; i++)
gdi.resetBackground(top, bottom, i);