]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add a // defaults: marker too
authorRudolf Polzer <divverent@alientrap.org>
Fri, 22 Oct 2010 13:57:25 +0000 (15:57 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 22 Oct 2010 13:57:25 +0000 (15:57 +0200)
qcsrc/common/mapinfo.qc

index 862f7b98ab82c76308cebb8e08f4ac29420a500b..ab34824fdf1891ac45ddbca8d898084256f69aa7 100644 (file)
@@ -846,7 +846,7 @@ float MapInfo_Get_ByName(string pFilename, float pAllowGenerate, float pGametype
 
                for(i = 1; i <= MapInfo_Map_supportedGametypes; i *= 2)
                        if(MapInfo_Map_supportedGametypes & i)
-                               fputs(fh, sprintf("gametype %s\n", MapInfo_Type_ToString(i), " // ", _MapInfo_GetDefaultEx(i)));
+                               fputs(fh, sprintf("gametype %s // defaults: %s\n", MapInfo_Type_ToString(i), _MapInfo_GetDefaultEx(i)));
 
                fh2 = fopen(strcat("scripts/", pFilename, ".arena"), FILE_READ);
                if(fh2 >= 0)