]> git.jsancho.org Git - lugaru.git/commitdiff
Fixed a mistake in using ConvertFileName() in 'GameInitDispose.cpp'
authorNeal Gompa <ngompa13@gmail.com>
Sat, 15 May 2010 05:27:32 +0000 (00:27 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Sat, 15 May 2010 05:27:32 +0000 (00:27 -0500)
Source/GameInitDispose.cpp

index 9594b87e1054d25fe1f7e34427fa724a8d01493b..47ceb900ff29b8add71b672243465a4a60723e62 100644 (file)
@@ -138,7 +138,7 @@ void Game::Dispose()
        }
 
 
-       sprintf (ConvertFileName(mapname), ":Data:Users");
+       sprintf (mapname, ":Data:Users");
 
        FILE                    *tfile;
        tfile=fopen( ConvertFileName(mapname), "wb" );
@@ -1014,7 +1014,7 @@ void Game::InitGame()
 
        accountactive=-1;
 
-       sprintf (ConvertFileName(mapname), ":Data:Users");
+       sprintf (mapname, ":Data:Users");
        tfile=fopen( ConvertFileName(mapname), "rb" );
        if(tfile)
        {