]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix laser setting the last used ammo to 1 when reloading it after having switched...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 30 Jan 2011 20:56:30 +0000 (22:56 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 30 Jan 2011 20:56:30 +0000 (22:56 +0200)
commitfa05d87635808e8569add3dca4be9685af7eed46
tree99106df1d4e06cb6399b61871f799f8df22e1482
parent1a8c3663196e3fa7250e23320587697fb5689ab9
Fix laser setting the last used ammo to 1 when reloading it after having switched to another weapon. We need to use a field float there that is always 0, or the ..float sets the last ammo instead of reporting no ammo.
qcsrc/server/defs.qh
qcsrc/server/w_laser.qc