mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 21:26:42 +00:00
# Partial support for saved games with AI.
Support cancelling loads while inside a loader callback. Fix use of ArchiveReader/Writer since their API changed. Improve error-detection in deserializer to avoid crashes. Report deserializer errors to users. Expand load-error message box to fit message about invalid saved games. This was SVN commit r10787.
This commit is contained in:
1 parent
5f0d5e4137
commit
6399ec0cd2
14 files changed
+202
-117
No files matched your search
@@ -638,8 +638,7 @@ ScriptInterface& CSimulation2::GetScriptInterface() const
|
||||
|
||||
void CSimulation2::InitGame(const CScriptVal& data)
|
||||
{
|
||||
CScriptVal ret; // ignored
|
||||
GetScriptInterface().CallFunction(GetScriptInterface().GetGlobalObject(), "InitGame", data, ret);
|
||||
GetScriptInterface().CallFunctionVoid(GetScriptInterface().GetGlobalObject(), "InitGame", data);
|
||||
}
|
||||
|
||||
void CSimulation2::Update(int turnLength)
|
||||
|
||||
Reference in new issue
Block a user