aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorMax Horn2004-09-04 10:29:06 +0000
committerMax Horn2004-09-04 10:29:06 +0000
commit91a57ad8f5baa98ab72c2a5692d433b1cf6aadc3 (patch)
treea0387b7e935bf3ed8146797f56c55683961ec967 /scumm/actor.cpp
parent3511e688ab560cd25b9d68b166a4eda85987248a (diff)
downloadscummvm-rg350-91a57ad8f5baa98ab72c2a5692d433b1cf6aadc3.tar.gz
scummvm-rg350-91a57ad8f5baa98ab72c2a5692d433b1cf6aadc3.tar.bz2
scummvm-rg350-91a57ad8f5baa98ab72c2a5692d433b1cf6aadc3.zip
cleanup (this actor clip stuff is really evil -- I have to agree with Kirben, it's totally unclear why they didn't just use the good old virt screen system...
svn-id: r14890
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index bd387d3ad9..137a4553b1 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -133,11 +133,8 @@ void Actor::initActor(int mode) {
walkScript = 0;
talkScript = 0;
- clipOverride.right = _vm->_actorClipRight;
- clipOverride.left = _vm->_actorClipLeft;
- clipOverride.top = _vm->_actorClipTop;
- clipOverride.bottom = _vm->_actorClipBottom;
-
+ clipOverride = _vm->_actorClipOverride;
+
_vm->_classData[number] = (_vm->_version >= 7) ? _vm->_classData[0] : 0;
}