aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-04-18 09:19:58 +0000
committerVincent Hamm2002-04-18 09:19:58 +0000
commit7a9a6f0363d6bd08b50e9fa0ab7e5856b5594939 (patch)
tree5045f8d63518c6452910cb38fc65484ddbb77cf1 /script_v1.cpp
parent6dfe2fc05ffc08051286f953e748f9800e8e9192 (diff)
downloadscummvm-rg350-7a9a6f0363d6bd08b50e9fa0ab7e5856b5594939.tar.gz
scummvm-rg350-7a9a6f0363d6bd08b50e9fa0ab7e5856b5594939.tar.bz2
scummvm-rg350-7a9a6f0363d6bd08b50e9fa0ab7e5856b5594939.zip
Fixed a few clipping issues in Loom the NICE way this time
svn-id: r3994
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index 500dd35fd3..2523f147e0 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -825,6 +825,13 @@ void Scumm::o5_actorSetClass()
newClass = getVarOrDirectWord(0x80);
if (newClass == 0) {
_classData[act] = 0;
+ if( _features & GF_SMALL_HEADER)
+ {
+ Actor *a;
+ a=derefActor(act);
+ a->forceClip=0;
+ }
+
continue;
}