mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 09:19:00 +00:00
another backport
This commit is contained in:
parent
921ca7712e
commit
6bdc0365ee
1 changed files with 2 additions and 0 deletions
|
@ -2059,7 +2059,9 @@ int8 CRunningScript::ProcessOneCommand()
|
||||||
uint32 ip = m_nIp;
|
uint32 ip = m_nIp;
|
||||||
if (command < ARRAY_SIZE(commands)) {
|
if (command < ARRAY_SIZE(commands)) {
|
||||||
script_assert(commands[command].id == command);
|
script_assert(commands[command].id == command);
|
||||||
|
m_nIp -= 2;
|
||||||
sprintf(commandInfo, m_nIp >= SIZE_MAIN_SCRIPT ? "M<%5d> " : "<%6d> ", m_nIp >= SIZE_MAIN_SCRIPT ? m_nIp - SIZE_MAIN_SCRIPT : m_nIp);
|
sprintf(commandInfo, m_nIp >= SIZE_MAIN_SCRIPT ? "M<%5d> " : "<%6d> ", m_nIp >= SIZE_MAIN_SCRIPT ? m_nIp - SIZE_MAIN_SCRIPT : m_nIp);
|
||||||
|
m_nIp += 2;
|
||||||
if (m_bNotFlag)
|
if (m_bNotFlag)
|
||||||
strcat(commandInfo, "NOT ");
|
strcat(commandInfo, "NOT ");
|
||||||
if (commands[command].position == -1)
|
if (commands[command].position == -1)
|
||||||
|
|
Loading…
Reference in a new issue