xtreme8000 / BetterSpades

BetterSpades, an Ace of Spades client targeted at low end systems (GL/ES 1.1). Runs on your grandmother's rig!
https://aos.party/jenkins/job/BetterSpades/
GNU General Public License v3.0
243 stars 40 forks source link

Fix weapon reload not stopping when player switches tools #181

Open utf-4096 opened 1 year ago

utf-4096 commented 1 year ago

On the original client, the weapon reload gets cancelled if you switch of tool while reloading your weapon. The bundled in server and SpadesX follow this behavior by sending a reload cancel packet, however, BetterSpades proceeds with the reloading anyway. This PR changes it to be more in line with VOXLAP.

Haxk20 commented 1 year ago

Should be noted that this has been worked around by server to send finish reload packet with the original ammo count to the client once we cancel. This prevents any of the funky business.

Server = SpadesX. Pique and etc do not care about this.