]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
g_maxplayers -1: when rounding to a team multiple, go down at the midpoint
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 29 Sep 2023 05:13:49 +0000 (15:13 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Fri, 29 Sep 2023 05:13:49 +0000 (15:13 +1000)
commitfd673ca98255dc41b080411c59712137b189079e
tree749c74bfb4354b835f376013cdba1dfc74254803
parent2b84c25d7445eaef217edad2bbd22c3a616869b1
g_maxplayers -1: when rounding to a team multiple, go down at the midpoint

It seems a 5 players max DM map is more likely to suit 2v2 TDM/FT than 3v3.
It will still round up to 6 if there's 3 teams.

Also catches misconfigurations with g_maxplayers -1 and no teams.

Changes to more meaningful var names.
qcsrc/server/world.qc