From: David Rosen Date: Sat, 5 Feb 2011 00:19:18 +0000 (-0500) Subject: Users file saved in write directory X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=8607cde5d95f2f16770810063c25ae174ab1f7a8;p=lugaru.git Users file saved in write directory --- diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index 47ceb90..3a3689f 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -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);