mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 08:52:58 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
@@ -109,7 +109,7 @@ void CScheduler::Update(int simElapsed)
|
||||
continue;
|
||||
}
|
||||
|
||||
g_ScriptingHost.ExecuteScript( top.script, CStrW( L"timer" ), top.operateOn );
|
||||
g_ScriptingHost.ExecuteScript( top.script, L"timer", top.operateOn );
|
||||
if( top.isRecurrent && !m_abortInterval )
|
||||
PushInterval( top.delay, top.delay, top.script, top.operateOn, top.id );
|
||||
}
|
||||
@@ -126,7 +126,7 @@ void CScheduler::Update(int simElapsed)
|
||||
continue;
|
||||
}
|
||||
|
||||
g_ScriptingHost.ExecuteScript( top.script, CStrW( L"timer" ), top.operateOn );
|
||||
g_ScriptingHost.ExecuteScript( top.script, L"timer", top.operateOn );
|
||||
}
|
||||
while( !timeFunction.empty() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user