]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Remove a wrong and never executed piece of code within minstagib_items.
authorterencehill <piuntn@gmail.com>
Sat, 10 Jul 2010 13:23:46 +0000 (15:23 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 10 Jul 2010 13:23:46 +0000 (15:23 +0200)
commit3466cc0e13455a448e4b63a56d1a25e716054264
tree1aadfd7ff2ecb3b1082225ba18753ae0b8f90a6a
parenta300d8523d6b10e36899d331461443c3028fce6c
Remove a wrong and never executed piece of code within minstagib_items.
Reason: the function minstagib_items is intended to be called (and it's called I've verified) only on spawned items loading the map, never on dropped weapons.
If it wasn't so, that code would have spawned WRONGLY a nex instead of a minstanex (there is a typo).
The code that does correctly the job obviously exists and can be found in the function Item_GiveTo.
qcsrc/server/t_items.qc