]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add td monster spawns to the mapinfo entity detection
authorMario <mario.mario@y7mail.com>
Thu, 18 Apr 2013 08:29:19 +0000 (18:29 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 18 Apr 2013 08:29:19 +0000 (18:29 +1000)
qcsrc/common/mapinfo.qc

index ad5fc99143529bc0ba1ce4516e053f1bc34605a0..3cfb7f6f06675997443daff0ceb11379c6b2f30c 100644 (file)
@@ -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;