]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'martin-t/msnt' into 'master'
authorMario <zacjardine@y7mail.com>
Thu, 10 Nov 2016 15:48:56 +0000 (15:48 +0000)
committerMario <zacjardine@y7mail.com>
Thu, 10 Nov 2016 15:48:56 +0000 (15:48 +0000)
Spawning near teammates

Fixes #1799 and makes the spawn spot selection much more reliable.

The change in defaults is what me and @RomanSixty agreed on as a reasonable value. The 0 was most likely an oversight anyway which caused players to spawn in a chain reaction e.g. https://www.youtube.com/watch?v=c2gbe-MzdAU&feature=youtu.be&t=1m5s .

The FOREACH_CLIENT_RANDOM macro unfortunately can't be nested due to QC arrays being global.

See merge request !383


Trivial merge