This commit is contained in:
Nikolay 2021-01-09 02:41:27 +03:00 committed by GitHub
parent 91c6389754
commit b7f9bfda4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3108,7 +3108,7 @@ int8 CRunningScript::ProcessCommands0To99(int32 command)
CollectParameters(&m_nIp, 1); CollectParameters(&m_nIp, 1);
script_assert(ScriptParams[0] >= 0); script_assert(ScriptParams[0] >= 0);
CRunningScript* pNew = CTheScripts::StartNewScript(ScriptParams[0]); CRunningScript* pNew = CTheScripts::StartNewScript(ScriptParams[0]);
m_bIsActive = true; pNew->m_bIsActive = true;
int8 type = CTheScripts::Read1ByteFromScript(&m_nIp); int8 type = CTheScripts::Read1ByteFromScript(&m_nIp);
float tmp; float tmp;
for (int i = 0; type != ARGUMENT_END; type = CTheScripts::Read1ByteFromScript(&m_nIp), i++) { for (int i = 0; type != ARGUMENT_END; type = CTheScripts::Read1ByteFromScript(&m_nIp), i++) {