aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-10 20:50:23 +0100
committerTobias Gunkel2012-02-11 08:28:29 +0100
commitc010da00a425ff4be1619093327c46ab2e6c1381 (patch)
treec5985edf765590ca63ac99bc44eed97f29dadf12 /engines
parent32945904d5267562975d01f2bae5c56a7c35af93 (diff)
downloadscummvm-rg350-c010da00a425ff4be1619093327c46ab2e6c1381.tar.gz
scummvm-rg350-c010da00a425ff4be1619093327c46ab2e6c1381.tar.bz2
scummvm-rg350-c010da00a425ff4be1619093327c46ab2e6c1381.zip
SCUMM: click into sentence line in v0 now performs the action
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/verbs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp
index e06ee3d949..cb8148d81b 100644
--- a/engines/scumm/verbs.cpp
+++ b/engines/scumm/verbs.cpp
@@ -781,13 +781,15 @@ void ScummEngine_v0::checkExecVerbs() {
kid = 1;
else
kid = 2;
- // TODO: get clicked kid
_activeVerb = kVerbWalkTo;
drawSentenceLine();
switchActor(kid);
}
_activeVerb = kVerbWalkTo;
return;
+ } else if (_activeVerb && _activeVerb != kVerbWalkTo && _activeVerb != kVerbWhatIs) {
+ if (_activeObjectNr && (!activeVerbPrep() || _activeObject2Nr))
+ execute = true;
}
} else {
int obj = 0;