From 2b6d58cbb202a01c99bc0d6c2318802591ac7492 Mon Sep 17 00:00:00 2001 From: sluicebox Date: Thu, 15 Aug 2019 17:44:44 -0700 Subject: SCI: Fix builds when SCI32 disabled Fixes previous commit --- engines/sci/engine/script_patches.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci/engine') 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, -- cgit v1.2.3