aboutsummaryrefslogtreecommitdiffstats
path: root/src/control/Script7.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-26 00:34:31 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-26 00:34:31 +0300
commit9187873396500555041325ac0baf40c14488c765 (patch)
tree704084e38a68d9fa783c65cba29778a9b9c7031e /src/control/Script7.cpp
parentd750a1101ba7b2a06105222c6e9160398a40aea1 (diff)
Onscreen timer
Diffstat (limited to 'src/control/Script7.cpp')
-rw-r--r--src/control/Script7.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script7.cpp b/src/control/Script7.cpp
index de389a13..a06c43d3 100644
--- a/src/control/Script7.cpp
+++ b/src/control/Script7.cpp
@@ -570,7 +570,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
wchar* text = TheText.Get((char*)&CTheScripts::ScriptSpace[m_nIp]); // ???
strncpy(onscreen_str, (char*)&CTheScripts::ScriptSpace[m_nIp], KEY_LENGTH_IN_SCRIPT);
m_nIp += KEY_LENGTH_IN_SCRIPT;
- CUserDisplay::OnscnTimer.AddCounter(var, GET_INTEGER_PARAM(0), onscreen_str, GET_INTEGER_PARAM(1) - 1); // TODO: last params are -1, nil, 0
+ CUserDisplay::OnscnTimer.AddCounter(var, GET_INTEGER_PARAM(0), onscreen_str, GET_INTEGER_PARAM(1) - 1, -1, nil, 0); // TODO: last params are -1, nil, 0
return 0;
}
case COMMAND_ADD_SET_PIECE: