]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Add a more optimised and generic function to initialise items (loot or permanent)
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 19 Jun 2023 01:04:31 +0000 (11:04 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 21 Jun 2023 10:58:59 +0000 (20:58 +1000)
commit6ef9fe4c272147a1b3f63a21cb37f13492d84063
tree01523a8e5d9ddd4dfb2a1a056520e4916bf0af16
parentc2c16160d15c51e7e355c096998a06cb6537c292
Add a more optimised and generic function to initialise items (loot or permanent)

It's faster when an itemdef is provided, which avoids a classname search.
qcsrc/server/items/items.qh
qcsrc/server/items/spawning.qc
qcsrc/server/items/spawning.qh