From: Mario Date: Thu, 18 Apr 2013 08:29:19 +0000 (+1000) Subject: Add td monster spawns to the mapinfo entity detection X-Git-Tag: xonotic-v0.8.0~241^2^2~349 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=969b8c714410aef800d00f443e66613b8978cb2f;p=xonotic%2Fxonotic-data.pk3dir.git Add td monster spawns to the mapinfo entity detection --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index ad5fc9914..3cfb7f6f0 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -313,7 +313,7 @@ float _MapInfo_Generate(string pFilename) // 0: failure, 1: ok ent, 2: ok bsp MapInfo_Map_supportedGametypes |= MAPINFO_TYPE_CTF; else if(v == "team_CTF_blueflag") MapInfo_Map_supportedGametypes |= MAPINFO_TYPE_CTF; - else if(v == "td_generator") + else if(v == "td_generator" || v == "monster_swarm") MapInfo_Map_supportedGametypes |= MAPINFO_TYPE_TD; else if(v == "target_assault_roundend") MapInfo_Map_supportedGametypes |= MAPINFO_TYPE_ASSAULT;