aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-09 20:54:19 +0000
committerMax Horn2003-09-09 20:54:19 +0000
commitdeb4f6b78679527735225808161cc223d13dfa78 (patch)
tree367a5b2b81bac2a3d09ab237806088ec585bf0a7 /scumm/script_v8.cpp
parentd875bb69fe436fe071e9ad5363a203e99e793ed0 (diff)
downloadscummvm-rg350-deb4f6b78679527735225808161cc223d13dfa78.tar.gz
scummvm-rg350-deb4f6b78679527735225808161cc223d13dfa78.tar.bz2
scummvm-rg350-deb4f6b78679527735225808161cc223d13dfa78.zip
cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 (COMI: Lockup/crash on Skull Island)
svn-id: r10144
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 2819d862b6..c333c50848 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1426,7 +1426,7 @@ void Scumm_v8::o8_kernelGetFunctions() {
break;
case 0xD8: { // findBlastObject
int x = args[1] + (camera._cur.x & 7);
- int y = args[2] + (camera._cur.y - (_screenHeight /2));;
+ int y = args[2] + _screenTop;
BlastObject *eo;
for (int i = _blastObjectQueuePos - 1; i >= 0; i--) {