]> git.jsancho.org Git - lugaru.git/commitdiff
Added a ConvertFileName() to 'GameTick.cpp'
authorRyan Hanson <hansonry@gmail.com>
Sat, 15 May 2010 05:44:32 +0000 (00:44 -0500)
committerRyan Hanson <hansonry@gmail.com>
Sat, 15 May 2010 05:44:32 +0000 (00:44 -0500)
Source/GameTick.cpp

index e247d5333a23f324f6aad9576609f5729d720c1d..f162cf2eb0dc67c66fc0d79be2dfee07043f3db1 100644 (file)
@@ -3461,7 +3461,7 @@ void      Game::Tick()
 
 
                                                                FILE                    *tfile;
-                                                               tfile=fopen( mapname, "wb" );
+                                                               tfile=fopen( ConvertFileName(mapname), "wb" );
                                                                fpackf(tfile, "Bi", mapvers);
                                                                //fpackf(tfile, "Bi", indemo);
                                                                fpackf(tfile, "Bi", maptype);