]> git.jsancho.org Git - lugaru.git/commitdiff
Users file saved in write directory
authorDavid Rosen <david@wolfire.com>
Sat, 5 Feb 2011 00:19:18 +0000 (19:19 -0500)
committerDavid Rosen <david@wolfire.com>
Sat, 5 Feb 2011 00:19:18 +0000 (19:19 -0500)
Source/GameInitDispose.cpp

index 47ceb900ff29b8add71b672243465a4a60723e62..3a3689fb16a7f1e93dbfc45e4d681a167db390b4 100644 (file)
@@ -141,7 +141,7 @@ void Game::Dispose()
        sprintf (mapname, ":Data:Users");
 
        FILE                    *tfile;
-       tfile=fopen( ConvertFileName(mapname), "wb" );
+       tfile=fopen( ConvertFileName(mapname, "wb"), "wb" );
        if (tfile)
        {
                fpackf(tfile, "Bi", numaccounts);