summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-20 19:15:03 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-20 19:15:03 +0100
commita5be17d9415b0b1c265f7eadcc077f82d3ec8592 (patch)
tree39f96a60c1b024e9800a2031fd2635f2b428c0de /src/control/Script.cpp
parentsync (diff)
parentsome more script (diff)
downloadre3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.tar
re3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.tar.gz
re3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.tar.bz2
re3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.tar.lz
re3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.tar.xz
re3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.tar.zst
re3-a5be17d9415b0b1c265f7eadcc077f82d3ec8592.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 24f08fff..6e97d383 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -1716,7 +1716,7 @@ const tScriptCommandData commands[] = {
REGISTER_COMMAND(COMMAND_CLEAR_AREA_OF_OBJECTS, INPUT_ARGUMENTS(ARGTYPE_FLOAT, ARGTYPE_FLOAT, ARGTYPE_FLOAT, ARGTYPE_FLOAT, ARGTYPE_FLOAT, ARGTYPE_FLOAT, ), OUTPUT_ARGUMENTS(), false, -1, ""),
REGISTER_COMMAND(COMMAND_LOAD_NON_STANDARD_PED_ANIM, INPUT_ARGUMENTS(ARGTYPE_INT, ), OUTPUT_ARGUMENTS(), false, -1, ""),
REGISTER_COMMAND(COMMAND_UNLOAD_NON_STANDARD_PED_ANIM, INPUT_ARGUMENTS(ARGTYPE_INT, ), OUTPUT_ARGUMENTS(), false, -1, ""),
- REGISTER_COMMAND(COMMAND_1566, INPUT_ARGUMENTS(), OUTPUT_ARGUMENTS(), false, -1, ""),
+ REGISTER_COMMAND(COMMAND_1566, INPUT_ARGUMENTS(ARGTYPE_FLOAT, ), OUTPUT_ARGUMENTS(), false, -1, ""),
REGISTER_COMMAND(COMMAND_BUILD_WORLD_GEOMETRY, INPUT_ARGUMENTS(ARGTYPE_INT, ), OUTPUT_ARGUMENTS(), false, -1, ""),
REGISTER_COMMAND(COMMAND_STORE_BUILDING_SWAP, INPUT_ARGUMENTS(ARGTYPE_INT, ARGTYPE_INT, ARGTYPE_INT, ARGTYPE_INT, ), OUTPUT_ARGUMENTS(), false, -1, ""),
REGISTER_COMMAND(COMMAND_IS_MULTIPLAYER_ACTIVE, INPUT_ARGUMENTS(), OUTPUT_ARGUMENTS(), true, -1, ""),
@@ -4574,14 +4574,12 @@ int8 CRunningScript::ProcessCommands100To199(int32 command)
UpdateCompareFlag(TheCamera.IsSphereVisible(pos, GET_FLOAT_PARAM(3)));
return 0;
}
- /*
case COMMAND_DEBUG_ON:
CTheScripts::DbgFlag = true;
return 0;
case COMMAND_DEBUG_OFF:
CTheScripts::DbgFlag = false;
return 0;
- */
case COMMAND_RETURN_TRUE:
UpdateCompareFlag(true);
ReturnFromGosubOrFunction();