]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
powerups: optimise loot item spawning
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 19 Jun 2023 01:46:38 +0000 (11:46 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 21 Jun 2023 10:59:04 +0000 (20:59 +1000)
commitc9983bff1bd3ebb880110f04669b9fe9e5c8b0c1
tree2115e2a356ef4fce40f5f5b4b352d743d535f174
parent3e2b2cee6f356f9453be5b02b4640405f19a8bf8
powerups: optimise loot item spawning

We can use the itemdef to skip the classname search, and we don't need
the netname search either since we already have a jump table.
qcsrc/common/mutators/mutator/powerups/sv_powerups.qc