From: Rudolf Polzer Date: Sat, 14 Aug 2010 00:58:59 +0000 (+0200) Subject: fix a typo in mapinfo code X-Git-Tag: xonotic-v0.1.0preview~361^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ba2dad4f0c8275b5fc3545328195c7e763acab8a;p=xonotic%2Fxonotic-data.pk3dir.git fix a typo in mapinfo code --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 1fd2cf809..10b594320 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -720,7 +720,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("type %s %s\n", i, MapInfo_GetDefault(i))); + fputs(fh, sprintf("type %s %s\n", MapInfo_Type_ToString(i), MapInfo_GetDefault(i))); fh2 = fopen(strcat("scripts/", pFilename, ".arena"), FILE_READ); if(fh2 >= 0)