Skip to content
Success

Changes

Summary

  1. network.c: Do not send Weapon input when sprinting (commit: 369d687) (details)
Commit 369d68732144a7e07efc22ccd0f905d6d0d3d9e3 by xtreme8000
network.c: Do not send Weapon input when sprinting

BetterSpades was sending weapon inputs to server even when sprinting because
it was checking only if the weapon input is different to previously sent one.

Fix this by checking if player is sprinting and not allowing such packet to be sent.
(The packets cant do any harm really but players can spam the server with it when sprinting thus creating fake shots)
(commit: 369d687)
The file was modified src/network.c (diff)