aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorsluicebox2019-08-15 17:44:44 -0700
committersluicebox2019-08-15 17:44:44 -0700
commit2b6d58cbb202a01c99bc0d6c2318802591ac7492 (patch)
treef643521667394468b96ab5265d9f50c3627e1a37 /engines/sci/engine
parent25374e05335d1be693a21d4cc6d6a2230fc72383 (diff)
downloadscummvm-rg350-2b6d58cbb202a01c99bc0d6c2318802591ac7492.tar.gz
scummvm-rg350-2b6d58cbb202a01c99bc0d6c2318802591ac7492.tar.bz2
scummvm-rg350-2b6d58cbb202a01c99bc0d6c2318802591ac7492.zip
SCI: Fix builds when SCI32 disabled
Fixes previous commit
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/script_patches.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 45d791bf91..e4f8371448 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -138,6 +138,7 @@ static const char *const selectorNameTable[] = {
"size", // EcoQuest 1
"signal", // EcoQuest 1, GK1
"obstacles", // EcoQuest 1, QFG4
+ "handleEvent", // EcoQuest 2, Shivers
#ifdef ENABLE_SCI32
"newWith", // SCI2 array script
"scrollSelections", // GK2
@@ -145,7 +146,6 @@ static const char *const selectorNameTable[] = {
"detailLevel", // GK2 benchmarking
"view", // RAMA benchmarking, GK1, QFG4
"fade", // Shivers
- "handleEvent", // Shivers
"test", // Torin
"get", // Torin, GK1
"newRoom", // GK1
@@ -249,7 +249,8 @@ enum ScriptPatcherSelectors {
SELECTOR_delete,
SELECTOR_size,
SELECTOR_signal,
- SELECTOR_obstacles
+ SELECTOR_obstacles,
+ SELECTOR_handleEvent
#ifdef ENABLE_SCI32
,
SELECTOR_newWith,
@@ -258,7 +259,6 @@ enum ScriptPatcherSelectors {
SELECTOR_detailLevel,
SELECTOR_view,
SELECTOR_fade,
- SELECTOR_handleEvent,
SELECTOR_test,
SELECTOR_get,
SELECTOR_newRoom,