]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapinfo.qh
Store the current gametype as a shortname rather than registry ID, fixes some issues...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapinfo.qh
index 7059a122d7129d0bcf93105aa3cc5361baa0206b..68b5d0b3b888addd754d9e074b21b04dbef4d9c9 100644 (file)
@@ -174,7 +174,7 @@ string MapInfo_ListAllAllowedMaps(float pFlagsRequired, float pFlagsForbidden);
 // gets a gametype from a string
 string _MapInfo_GetDefaultEx(Gametype t);
 float _MapInfo_GetTeamPlayBool(Gametype t);
-Gametype MapInfo_Type_FromString(string t);
+Gametype MapInfo_Type_FromString(string t, bool dowarn);
 string MapInfo_Type_Description(Gametype t);
 string MapInfo_Type_ToString(Gametype t);
 string MapInfo_Type_ToText(Gametype t);