X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Finit.c;h=e728c9a74e3c9e3a866cbe47c942475dd8591651;hb=HEAD;hp=040c18f9be7a117857685ae613824c381893805f;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/game_sp/init.c b/src/game_sp/init.c index 040c18f9..e728c9a7 100644 --- a/src/game_sp/init.c +++ b/src/game_sp/init.c @@ -64,6 +64,7 @@ void sp_open_all(void) void sp_close_all(void) { + FreeGlobals(); } void InitPrecedingPlayfieldMemory(void) @@ -177,7 +178,7 @@ void SaveEngineSnapshotValues_SP(ListNode **buffers) SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(GfxElementLast)); SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(GfxGraphicLast)); SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(GfxGraphic)); - SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(GfxFrame)); + SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(GfxFrameSP)); SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(ScrollMinX)); SaveSnapshotBuffer(buffers, ARGS_ADDRESS_AND_SIZEOF(ScrollMinY));