aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-09 22:26:00 +0000
committerMax Horn2003-05-09 22:26:00 +0000
commit54a9ad3204140aba204474d186058db627b2584d (patch)
treea4adfac9417bfa76f68c3a01348da93eb46979e7 /scumm/verbs.cpp
parent18e1c5a80ad4f653fb597f948235ea8bfd77bb4f (diff)
downloadscummvm-rg350-54a9ad3204140aba204474d186058db627b2584d.tar.gz
scummvm-rg350-54a9ad3204140aba204474d186058db627b2584d.tar.bz2
scummvm-rg350-54a9ad3204140aba204474d186058db627b2584d.zip
super hackish mouse click support for Zak (doesn't do anything useful in MM yet; and in Zak, all clicks are for the scene, i.e. no verb clicks etc.)
svn-id: r7408
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r--scumm/verbs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 067874eec6..53b217903f 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -43,6 +43,14 @@ void Scumm::checkExecVerbs() {
int i, over;
VerbSlot *vs;
+#if 1
+ // FIXME - MM / Zak hack
+ if ((_features & GF_AFTER_V2) && (_mouseButStat & MBS_LEFT_CLICK)) {
+ printf("Running script 4\n");
+ runScript(4, 0, 0, 0);
+ }
+#endif
+
if (_userPut <= 0 || _mouseButStat == 0)
return;