aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/actions.cpp')
-rw-r--r--engines/zvision/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp
index baa89aa165..d039f04d95 100644
--- a/engines/zvision/actions.cpp
+++ b/engines/zvision/actions.cpp
@@ -354,7 +354,7 @@ ActionTimer::ActionTimer(const Common::String &line) {
}
bool ActionTimer::execute(ZVision *engine) {
- engine->getScriptManager()->addActionNode(new TimerNode(engine, _key, _time));
+ engine->getScriptManager()->addControl(new TimerNode(engine, _key, _time));
return true;
}