aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/actions.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp
index 9bdc6aa981..a5b1e951aa 100644
--- a/engines/zvision/actions.cpp
+++ b/engines/zvision/actions.cpp
@@ -24,6 +24,8 @@
#include "zvision/actions.h"
#include "zvision/zvision.h"
+#include "zvision/script_manager.h"
+#include "zvision/action_node.h"
namespace ZVision {
@@ -154,8 +156,8 @@ ActionTimer::ActionTimer(Common::String line) {
sscanf(line.c_str(), ":timer:%u(%hu)", &_key, &_time);
}
- // TODO: Implement
bool ActionTimer::execute(ZVision *engine) {
+ engine->getScriptManager()->addActionNode(new NodeTimer(_key, _time));
return true;
}