summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-01 11:55:29 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-01 11:55:29 +0100
commit63a27fbc5f41709b277cd46a7e8edf49c6d16460 (patch)
treed36d93b24d827603730a9c24fc6e3ff1fb0777b7 /src/control
parentRevert (diff)
downloadre3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.tar
re3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.tar.gz
re3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.tar.bz2
re3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.tar.lz
re3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.tar.xz
re3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.tar.zst
re3-63a27fbc5f41709b277cd46a7e8edf49c6d16460.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 86c9e86e..45e17491 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -2488,7 +2488,7 @@ int8 CRunningScript::ProcessOneCommand()
if (commands[command].position == -1)
strcat(commandInfo, commands[command].name + sizeof("COMMAND_") - 1);
for (int i = 0; commands[command].input[i] != ARGTYPE_NONE; i++) {
- char tmp[16];
+ char tmp[32];
bool var = false;
int value;
switch (commands[command].input[i]) {
@@ -2552,7 +2552,7 @@ int8 CRunningScript::ProcessOneCommand()
m_nIp = ip;
ip = t;
for (int i = 0; commands[command].output[i] != ARGTYPE_NONE; i++) {
- char tmp[16];
+ char tmp[32];
switch (commands[command].output[i]) {
case ARGTYPE_INT:
case ARGTYPE_PED_HANDLE: