Decompiled input

This commit is contained in:
MontyTRC89 2020-04-23 19:22:01 +02:00
parent 9a78144600
commit 6bff6caed2
122 changed files with 743 additions and 301 deletions

View file

@ -312,10 +312,6 @@ bool __cdecl readGameFlowChunks(ChunkId* chunkId, int maxSize, int arg)
bool __cdecl LoadScript()
{
// Initialise an empty legacy GAMEFLOW object for avoiding exceptions in the few functions left that use it
LegacyGameFlow = (GAMEFLOW*)malloc(sizeof(GAMEFLOW));
ZeroMemory(LegacyGameFlow, sizeof(GAMEFLOW));
// Load the new script file
FileStream stream("Script.dat", true, false);
g_ScriptChunkIO = new ChunkReader(0x4D355254, &stream);