[Scummvm-git-logs] scummvm master -> 1d9572173a3f0f58e32ca995521b3d453a5f1f97

bluegr bluegr at gmail.com
Thu Feb 4 20:24:45 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1d9572173a SCI: Fix compilation when SCI32 is disabled


Commit: 1d9572173a3f0f58e32ca995521b3d453a5f1f97
    https://github.com/scummvm/scummvm/commit/1d9572173a3f0f58e32ca995521b3d453a5f1f97
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-02-04T22:24:41+02:00

Commit Message:
SCI: Fix compilation when SCI32 is disabled

Changed paths:
    engines/sci/engine/script_patches.cpp


diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 70e1465e9d..de7da43b9d 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -148,11 +148,11 @@ static const char *const selectorNameTable[] = {
 	"signal",       // EcoQuest 1, GK1
 	"obstacles",    // EcoQuest 1, QFG4
 	"handleEvent",  // EcoQuest 2, Shivers
+	"view",         // King's Quest 4, RAMA benchmarking, GK1, QFG4
 #ifdef ENABLE_SCI32
 	"newWith",      // SCI2 array script
 	"posn",         // GK1, Phant2, QFG4
 	"printLang",    // GK2
-	"view",         // RAMA benchmarking, GK1, QFG4
 	"fade",         // Shivers
 	"test",         // Torin
 	"get",          // Torin, GK1
@@ -271,13 +271,13 @@ enum ScriptPatcherSelectors {
 	SELECTOR_size,
 	SELECTOR_signal,
 	SELECTOR_obstacles,
-	SELECTOR_handleEvent
+	SELECTOR_handleEvent,
+	SELECTOR_view
 #ifdef ENABLE_SCI32
 	,
 	SELECTOR_newWith,
 	SELECTOR_posn,
 	SELECTOR_printLang,
-	SELECTOR_view,
 	SELECTOR_fade,
 	SELECTOR_test,
 	SELECTOR_get,




More information about the Scummvm-git-logs mailing list