cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
895 stars 115 forks source link

Drop guns/ammo on dying #752

Closed cxong closed 1 year ago

cxong commented 1 year ago

Guns and ammo are currently dropped when the actor has died, but not when they enter the dying state which lasts about 9 ticks. Instead they should drop as soon as they start dying, this way players can pick up this stuff quicker and it makes runs faster