]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Optimize random nade selection code
authorotta8634 <k9wolf@pm.me>
Wed, 12 Feb 2025 09:51:03 +0000 (17:51 +0800)
committerotta8634 <k9wolf@pm.me>
Wed, 12 Feb 2025 09:51:03 +0000 (17:51 +0800)
commitbeeb8aba065704711b41828bbe79c518adfdeda0
tree0cb2bbf7022b80fc3b6833dc7b67984aa0ef403f
parent82034c5f067a21c4ec3b537861015cc94b85ad35
Optimize random nade selection code

Use RandomSelection rather than looping through the Nades registry twice.
qcsrc/common/mutators/mutator/nades/sv_nades.qc