aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/control.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/control.cpp b/engines/zvision/control.cpp
index eeba9b3214..b55452c876 100644
--- a/engines/zvision/control.cpp
+++ b/engines/zvision/control.cpp
@@ -27,6 +27,7 @@
#include "zvision/zvision.h"
#include "zvision/render_manager.h"
#include "zvision/render_table.h"
+#include "zvision/script_manager.h"
#include "zvision/control.h"
#include "zvision/utility.h"
@@ -103,6 +104,8 @@ void Control::parseTiltControl(ZVision *engine, Common::SeekableReadStream &stre
}
void Control::parsePushToggleControl(uint32 key, ZVision *engine, Common::SeekableReadStream &stream) {
+ engine->getScriptManager()->setStateValue(key, 0);
+
Common::Rect hotspot;
Common::String cursorName;