aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scr_file_handling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/scr_file_handling.cpp')
-rw-r--r--engines/zvision/scr_file_handling.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/scr_file_handling.cpp b/engines/zvision/scr_file_handling.cpp
index f80700cc0d..4f1c3631bd 100644
--- a/engines/zvision/scr_file_handling.cpp
+++ b/engines/zvision/scr_file_handling.cpp
@@ -29,6 +29,7 @@
#include "zvision/actions.h"
#include "zvision/push_toggle_control.h"
#include "zvision/lever_control.h"
+#include "zvision/slot_control.h"
#include "common/textconsole.h"
#include "common/file.h"
@@ -342,6 +343,8 @@ Control *ScriptManager::parseControl(Common::String &line, Common::SeekableReadS
return NULL;
} else if (controlType.equalsIgnoreCase("lever")) {
return new LeverControl(_engine, key, stream);
+ } else if (controlType.equalsIgnoreCase("slot")) {
+ return new SlotControl(_engine, key, stream);
}
return NULL;
}