From: Rudolf Polzer Date: Fri, 22 Oct 2010 13:57:25 +0000 (+0200) Subject: add a // defaults: marker too X-Git-Tag: xonotic-v0.1.0preview~261 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12de032c4c52c669f032cc1c5bda86b4a6bc5f53;p=xonotic%2Fxonotic-data.pk3dir.git add a // defaults: marker too --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 862f7b98a..ab34824fd 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -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)