]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Adjust the map size diameter needed for some gamemodes to 3250, fixes medium sized...
authorMario <mario.mario@y7mail.com>
Fri, 30 Sep 2022 09:49:33 +0000 (19:49 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 30 Sep 2022 09:49:33 +0000 (19:49 +1000)
qcsrc/common/gamemodes/gamemode/clanarena/clanarena.qh
qcsrc/common/gamemodes/gamemode/duel/duel.qh
qcsrc/common/gamemodes/gamemode/freezetag/freezetag.qh
qcsrc/common/gamemodes/gamemode/tdm/tdm.qh

index 3b3dace64e30be13fad4c5ded3be8ba2b5a264ad..ad5909eb297bc088b51eee3b1f82e8e0cb2dfaac 100644 (file)
@@ -26,7 +26,7 @@ CLASS(ClanArena, Gametype)
     }
     METHOD(ClanArena, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
     {
-        if(spawnpoints >= 8 && diameter > 4096)
+        if(spawnpoints >= 8 && diameter > 3250)
             return true;
         return false;
     }
index 298e62e0035af660e920317f57de78e2616aedf3..eb0e948b8ab785a955a226b007b03745a9e93a2f 100644 (file)
@@ -10,7 +10,7 @@ CLASS(Duel, Gametype)
     }
     METHOD(Duel, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
     {
-        return (diameter < 16384);
+        return (diameter < 3250);
     }
     METHOD(Duel, m_isForcedSupported, bool(Gametype this))
     {
index 61d3b91e9416c0653b4d4ebe04a60456dee064b6..9620ba835e1782f475a793a1e3ebdce59bfd2d54 100644 (file)
@@ -29,7 +29,7 @@ CLASS(FreezeTag, Gametype)
     }
     METHOD(FreezeTag, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
     {
-        if(spawnpoints >= 8 && diameter > 4096)
+        if(spawnpoints >= 8 && diameter > 3250)
             return true;
         return false;
     }
index d0e23940a3d769320a39672ef0cb4735579aa796..eeee581f42166f22a118be82f15673a537f4f35b 100644 (file)
@@ -23,7 +23,7 @@ CLASS(TeamDeathmatch, Gametype)
     }
     METHOD(TeamDeathmatch, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
     {
-        if(spawnpoints >= 8 && diameter > 4096)
+        if(spawnpoints >= 8 && diameter > 3250)
             return true;
         return false;
     }