summaryrefslogtreecommitdiffstats
path: root/src/control/ScriptDebug.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-14 16:18:34 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-14 16:18:34 +0200
commit39d2c427e55a43bc836034a742bbcb89aef01fdc (patch)
tree1d620862aef42c8ded71c2ade454567e5616c890 /src/control/ScriptDebug.cpp
parentfix (diff)
parentginput script (diff)
downloadre3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.gz
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.bz2
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.lz
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.xz
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.zst
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.zip
Diffstat (limited to 'src/control/ScriptDebug.cpp')
-rw-r--r--src/control/ScriptDebug.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/ScriptDebug.cpp b/src/control/ScriptDebug.cpp
index cdf9f7cd..fd64b44e 100644
--- a/src/control/ScriptDebug.cpp
+++ b/src/control/ScriptDebug.cpp
@@ -322,7 +322,11 @@ const tScriptCommandData commands[] = {
REGISTER_COMMAND(COMMAND_IS_PLAYER_IN_ZONE, INPUT_ARGUMENTS(ARGTYPE_INT, ARGTYPE_STRING,), OUTPUT_ARGUMENTS(), true, -1, ""),
REGISTER_COMMAND(COMMAND_IS_PLAYER_PRESSING_HORN, INPUT_ARGUMENTS(ARGTYPE_INT,), OUTPUT_ARGUMENTS(), true, -1, ""),
REGISTER_COMMAND(COMMAND_HAS_CHAR_SPOTTED_PLAYER, INPUT_ARGUMENTS(ARGTYPE_INT, ARGTYPE_INT,), OUTPUT_ARGUMENTS(), true, -1, ""),
+#ifdef SUPPORT_GINPUT_SCRIPT
+ REGISTER_COMMAND(COMMAND_HAS_PAD_IN_HANDS, INPUT_ARGUMENTS(), OUTPUT_ARGUMENTS(), true, -1, ""),
+#else
REGISTER_COMMAND(COMMAND_ORDER_CHAR_TO_BACKDOOR, INPUT_ARGUMENTS(ARGTYPE_INT, ARGTYPE_INT,), OUTPUT_ARGUMENTS(), false, -1, ""),
+#endif
REGISTER_COMMAND(COMMAND_ADD_CHAR_TO_GANG, INPUT_ARGUMENTS(ARGTYPE_INT, ARGTYPE_INT,), OUTPUT_ARGUMENTS(), false, -1, ""),
REGISTER_COMMAND(COMMAND_IS_CHAR_OBJECTIVE_PASSED, INPUT_ARGUMENTS(ARGTYPE_INT,), OUTPUT_ARGUMENTS(), true, -1, ""),
REGISTER_COMMAND(COMMAND_SET_CHAR_DRIVE_AGGRESSION, INPUT_ARGUMENTS(ARGTYPE_INT, ARGTYPE_INT,), OUTPUT_ARGUMENTS(), false, -1, ""),