]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
items: warn instead of crashing if spawned with no pickup sound set
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 16 Jul 2023 07:30:37 +0000 (17:30 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 16 Jul 2023 07:30:37 +0000 (17:30 +1000)
commit9375a0a0df0b5753b14de78cbde928547fb45ad3
treed8a832a47fefa70fbb2ca4d796e2d143fa9f7718
parentc98cf4cd2907eb3396bfc363c1e88ed99fac4b85
items: warn instead of crashing if spawned with no pickup sound set

Fixes null ptr deref when starting map dfwc2017-6, which was made easy
to trigger by 5606e7035655b105545cc7fbcbffa96e653b4e82
qcsrc/server/items/items.qc