aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2013-11-16 19:26:48 +0100
committerMartin Kiewitz2013-11-16 19:26:48 +0100
commit2f3df97a71083d5187d2cbb536d3d45ff497a9e2 (patch)
tree4c20ac25d56e153b3a7cb546e5a30806abe03fdc
parent6ee9433816527e497b4bf1655c2a5375a53306c1 (diff)
downloadscummvm-rg350-2f3df97a71083d5187d2cbb536d3d45ff497a9e2.tar.gz
scummvm-rg350-2f3df97a71083d5187d2cbb536d3d45ff497a9e2.tar.bz2
scummvm-rg350-2f3df97a71083d5187d2cbb536d3d45ff497a9e2.zip
SCI: fixing warning about missing braces
-rw-r--r--engines/sci/engine/script_patches.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 9bf284d543..c636f161e3 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -121,23 +121,23 @@ struct SciScriptPatcherSelector {
};
SciScriptPatcherSelector selectorTable[] = {
- "cycles", -1, // system selector
- "seconds", -1, // system selector
- "init", -1, // system selector
- "dispose", -1, // system selector
- "new", -1, // system selector
- "curEvent", -1, // system selector
- "disable", -1, // system selector
- "show", -1, // system selector
- "x", -1, // system selector
- "cel", -1, // system selector
- "setMotion", -1, // system selector
- "deskSarg", -1, // Gabriel Knight
- "localize", -1, // Freddy Pharkas
- "put", -1, // Police Quest 1 VGA
- "solvePuzzle", -1, // Quest For Glory 3
- "timesShownID", -1, // Space Quest 1 VGA
- NULL, -1
+ { "cycles", -1, }, // system selector
+ { "seconds", -1, }, // system selector
+ { "init", -1, }, // system selector
+ { "dispose", -1, }, // system selector
+ { "new", -1, }, // system selector
+ { "curEvent", -1, }, // system selector
+ { "disable", -1, }, // system selector
+ { "show", -1, }, // system selector
+ { "x", -1, }, // system selector
+ { "cel", -1, }, // system selector
+ { "setMotion", -1, }, // system selector
+ { "deskSarg", -1, }, // Gabriel Knight
+ { "localize", -1, }, // Freddy Pharkas
+ { "put", -1, }, // Police Quest 1 VGA
+ { "solvePuzzle", -1, }, // Quest For Glory 3
+ { "timesShownID", -1, }, // Space Quest 1 VGA
+ { NULL, -1 }
};
enum ScriptPatcherSelectors {