]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
overkill: optimise loot item mutator hooks
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 18 Jun 2023 22:13:58 +0000 (08:13 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 21 Jun 2023 10:59:03 +0000 (20:59 +1000)
commit3e2b2cee6f356f9453be5b02b4640405f19a8bf8
treec681e43a039581da9a02c6f0abef63220eb2c2da
parent8d4bb704010b166fb7b21086d49e668db4ede9e9
overkill: optimise loot item mutator hooks

No need to delete an item then spawn it again, and we can use the
itemdef to skip the classname search.
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc