# HG changeset patch # User zipi # Date 1362428286 0 # Node ID 604d70894002f3af9e8e94164526c02cce52a02a # Parent 797e1ec9fb834616c63dd36b302d2a987b375dcd Saving works partly diff -r 797e1ec9fb83 -r 604d70894002 SaveLoad.cpp --- a/SaveLoad.cpp Mon Mar 04 20:05:05 2013 +0000 +++ b/SaveLoad.cpp Mon Mar 04 20:18:06 2013 +0000 @@ -611,7 +611,7 @@ { unsigned int v1; // esi@1 int v2; // esi@2 - RGBTexture *v3; // ebx@3 + //RGBTexture *v3; // ebx@3 int bNotArena; // [sp+2Ch] [bp-8h]@1 unsigned int v6; // [sp+30h] [bp-4h]@1 @@ -638,14 +638,13 @@ GUI_UpdateWindows(); pGUIWindow_CurrentMenu->Release(); pCurrentScreen = SCREEN_GAME; - v3 = pSavegameThumbnails; + //v3 = pSavegameThumbnails; viewparams->bRedrawGameUI = 1; - do + for(int i=0;i<45;i++) { - v3->Release(); - ++v3; + pSavegameThumbnails[i].Release(); } - while ( (signed int)v3 < (signed int)&unk_6A0758 ); + //while ( (signed int)v3 < (signed int)&unk_6A0758 ); if ( bNotArena ) pNew_LOD->_4621A7(); else