diff options
Diffstat (limited to 'engines/cruise/saveload.cpp')
-rw-r--r-- | engines/cruise/saveload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/saveload.cpp b/engines/cruise/saveload.cpp index d25bda5735..612a26b885 100644 --- a/engines/cruise/saveload.cpp +++ b/engines/cruise/saveload.cpp @@ -301,12 +301,12 @@ int loadSavegameData(int saveGameIdx) { } if (filesData[j].field_4) { - if (ovlData->objData2WorkTable) { + if (ovlData->arrayObjVar) { free(ovlData-> - objData2WorkTable); + arrayObjVar); } - ovlData->objData2WorkTable = (objectParams *) filesData[j].field_4; // TODO: fix ! + ovlData->arrayObjVar = (objectParams *) filesData[j].field_4; // TODO: fix ! ovlData->size9 = filesData2[j].field_2; } |