summaryrefslogtreecommitdiff
path: root/src/control/Script2.cpp
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-08-27 17:11:56 +0300
committerGitHub <noreply@github.com>2021-08-27 17:11:56 +0300
commit6d1d60f6993f936a0fa89fe5dacbec399e741012 (patch)
treebf4873095bb3abc6b3715ebae61818e845727f13 /src/control/Script2.cpp
parentd750a1101ba7b2a06105222c6e9160398a40aea1 (diff)
parentcc9398df14fe66033f474494395e83287e540800 (diff)
Merge pull request #1318 from Nick007J/lcs
Onscreen Timer
Diffstat (limited to 'src/control/Script2.cpp')
-rw-r--r--src/control/Script2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script2.cpp b/src/control/Script2.cpp
index 6f6e89cc..26c1cdde 100644
--- a/src/control/Script2.cpp
+++ b/src/control/Script2.cpp
@@ -190,7 +190,7 @@ int8 CRunningScript::ProcessCommands300To399(int32 command)
{
uint16 counter = (uint8*)GetPointerToScriptVariable(&m_nIp, VAR_GLOBAL) - CTheScripts::ScriptSpace;
CollectParameters(&m_nIp, 1);
- CUserDisplay::OnscnTimer.AddCounter(counter, GET_INTEGER_PARAM(0), nil, 0);
+ CUserDisplay::OnscnTimer.AddCounter(counter, GET_INTEGER_PARAM(0), nil, 0, -1, nil, 0);
return 0;
}
case COMMAND_CLEAR_ONSCREEN_COUNTER: