aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6he.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-09-06 01:10:31 +0000
committerTravis Howell2004-09-06 01:10:31 +0000
commitc797a781774a63fcd3c2360191266025d7d4087b (patch)
tree6206475fe3e0bfb8d2371f5d912c7c958e47f155 /scumm/script_v6he.cpp
parent61c1a11c60c0cb0cb63341f1c18856d401b0fa24 (diff)
downloadscummvm-rg350-c797a781774a63fcd3c2360191266025d7d4087b.tar.gz
scummvm-rg350-c797a781774a63fcd3c2360191266025d7d4087b.tar.bz2
scummvm-rg350-c797a781774a63fcd3c2360191266025d7d4087b.zip
HE 72+ games use a remove object from queue function.
svn-id: r14916
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r--scumm/script_v6he.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 6887f8ddf3..a581c1245f 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -391,6 +391,8 @@ void ScummEngine_v6he::o6_setState() {
if (state & 0x8000) {
state = state & 0x7F00;
putState(obj, state);
+ if (_heversion >= 72)
+ removeObjectFromDrawQue(obj);
return;
}