summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-08 22:20:09 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-08 22:20:09 +0100
commita9559f03b020b16aa64dee1554b22e960c9dcc14 (patch)
treea04816d8ee48d651e80afec26f7682a04c69ac09 /src/control/Script4.cpp
parentMerge branch 'lcs-dev' into lcs (diff)
downloadre3-a9559f03b020b16aa64dee1554b22e960c9dcc14.tar
re3-a9559f03b020b16aa64dee1554b22e960c9dcc14.tar.gz
re3-a9559f03b020b16aa64dee1554b22e960c9dcc14.tar.bz2
re3-a9559f03b020b16aa64dee1554b22e960c9dcc14.tar.lz
re3-a9559f03b020b16aa64dee1554b22e960c9dcc14.tar.xz
re3-a9559f03b020b16aa64dee1554b22e960c9dcc14.tar.zst
re3-a9559f03b020b16aa64dee1554b22e960c9dcc14.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index a8658532..64928e7a 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -1781,7 +1781,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
*/
case COMMAND_DISPLAY_ONSCREEN_TIMER_WITH_STRING:
{
- script_assert(CTheScripts::ScriptSpace[m_nIp++] == ARGUMENT_GLOBALVAR);
+ //script_assert(CTheScripts::ScriptSpace[m_nIp++] == ARGUMENT_GLOBALVAR);
uint16 var = CTheScripts::Read2BytesFromScript(&m_nIp);
CollectParameters(&m_nIp, 1);
wchar* text = TheText.Get((char*)&CTheScripts::ScriptSpace[m_nIp]); // ???
@@ -1792,7 +1792,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
}
case COMMAND_DISPLAY_ONSCREEN_COUNTER_WITH_STRING:
{
- script_assert(CTheScripts::ScriptSpace[m_nIp++] == ARGUMENT_GLOBALVAR);
+ //script_assert(CTheScripts::ScriptSpace[m_nIp++] == ARGUMENT_GLOBALVAR);
uint16 var = CTheScripts::Read2BytesFromScript(&m_nIp);
CollectParameters(&m_nIp, 1);
wchar* text = TheText.Get((char*)&CTheScripts::ScriptSpace[m_nIp]); // ???