Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
another backport
  • Loading branch information
Nick007J committed Jan 23, 2021
1 parent 921ca77 commit 6bdc0365eee4c8a587d04ad7693e28bc5a388a35
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/control/Script.cpp
@@ -2059,7 +2059,9 @@ int8 CRunningScript::ProcessOneCommand()
uint32 ip = m_nIp;
if (command < ARRAY_SIZE(commands)) {
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);
m_nIp += 2;
if (m_bNotFlag)
strcat(commandInfo, "NOT ");
if (commands[command].position == -1)

0 comments on commit 6bdc036

Please sign in to comment.