From 8607cde5d95f2f16770810063c25ae174ab1f7a8 Mon Sep 17 00:00:00 2001 From: David Rosen Date: Fri, 4 Feb 2011 19:19:18 -0500 Subject: [PATCH] Users file saved in write directory --- Source/GameInitDispose.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5