changeset 556:797e1ec9fb83

Save fix
author zipi
date Mon, 04 Mar 2013 20:05:05 +0000
parents a09757c2c5e1
children 604d70894002
files GameUIs.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/GameUIs.cpp	Mon Mar 04 22:45:22 2013 +0200
+++ b/GameUIs.cpp	Mon Mar 04 20:05:05 2013 +0000
@@ -189,7 +189,7 @@
   for (uint i = 0; i < 40; ++i)
 	  {
     v3 = pSavegameList->pFileList[i].pSaveFileName;
-    if ( !pSavegameList->pFileList[i].pSaveFileName )
+    if ( !*pSavegameList->pFileList[i].pSaveFileName )
       v3 = "1.mm7";
     sprintf(pTmpBuf, "saves\\%s", v3);
     if ( _access(pTmpBuf, 0) || _access(pTmpBuf, 6) )