aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-10 23:40:58 +0100
committerTobias Gunkel2012-02-11 08:28:36 +0100
commit4bc726b9958a26e9ce82d00c8fd4ced35b83b83d (patch)
tree1228c484bc1a89ad79dd9e15cf256edcf395b7e3 /engines
parente89dd623ef2f44bac2768327da7faeef0e2c6f5b (diff)
downloadscummvm-rg350-4bc726b9958a26e9ce82d00c8fd4ced35b83b83d.tar.gz
scummvm-rg350-4bc726b9958a26e9ce82d00c8fd4ced35b83b83d.tar.bz2
scummvm-rg350-4bc726b9958a26e9ce82d00c8fd4ced35b83b83d.zip
SCUMM: reset object2 in v0 correctly
This fixes the issue that a kid will not enter the front door after opening it with the key.
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/verbs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp
index 74ff27c483..e70ae49b34 100644
--- a/engines/scumm/verbs.cpp
+++ b/engines/scumm/verbs.cpp
@@ -710,6 +710,8 @@ void ScummEngine_v0::verbExec() {
_activeVerb = kVerbWalkTo;
_activeObjectNr = 0;
_activeObjectType = 0;
+ _activeObject2Nr = 0;
+ _activeObject2Type = 0;
}
_walkToObjectIdx = 0;
return;