diff SaveLoad.cpp @ 2180:147ee4591b76

pSavegameList->Reset()
author Ritor1
date Wed, 22 Jan 2014 18:53:47 +0600
parents f0b5ca2dfb73
children 17b3e40daedc
line wrap: on
line diff
--- a/SaveLoad.cpp	Wed Jan 22 17:34:05 2014 +0600
+++ b/SaveLoad.cpp	Wed Jan 22 18:53:47 2014 +0600
@@ -538,9 +538,9 @@
 //----- (0045E297) --------------------------------------------------------
 void SavegameList::Initialize(unsigned int bHideEmptySlots)
 {
-    memset(pSavegameList, 0, sizeof(pSavegameList));//Ritor1: вызывает затирание(ведётся работа)
- // Reset();
-    uNumSavegameFiles = 0;
+  //memset(pSavegameList, 0, sizeof(pSavegameList));//Ritor1: вызывает затирание(ведётся работа)
+  pSavegameList->Reset();
+  uNumSavegameFiles = 0;
 
   _chdir("saves");
   {