]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
items: merge _StartItem() and StartItem(), warn instead of crashing if defaultrespawn...
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 4 Jul 2023 12:28:00 +0000 (22:28 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 16 Jul 2023 07:12:44 +0000 (17:12 +1000)
commitc98cf4cd2907eb3396bfc363c1e88ed99fac4b85
treee66fab343fab556fd653e7b69b3345f92847db23
parent105af41cc4fd08115b80ba1c5f8f5f2e8139f886
items: merge _StartItem() and StartItem(), warn instead of crashing if defaultrespawntime not set

Null ptr deref is a pain to debug.
qcsrc/server/items/items.qc
qcsrc/server/items/items.qh
qcsrc/server/weapons/spawning.qc