Skip to content
Failed

Changes

Summary

  1. Packets: SetTool.c: Complete the reload cycle when set tool arrives (commit: 0261f39) (details)
  2. Packets: WorldUpdate.c: Simplify initialization of empty vector (commit: 256e557) (details)
Commit 0261f39ddbf34400b621939ea75b887f6d1c12e6 by 16738302+Haxk20
Packets: SetTool.c: Complete the reload cycle when set tool arrives

Normally we would just not send the last packet and clients would
not finish reloading. This isnt the case in BetterSpades and we
have to force the client to finish reloading and also set the right
number of bullets in clip and reserve.

We do this by sending the final packet including the number of
bullets we had before reloading finished. Since we didnt finish
reloading fully the clip and reserve has not been modified client
side and we just send an ordinary packet thus not breaking other
clients and avoiding potential issues from this BetterSpades bug.
(commit: 0261f39)
The file was modified Source/Server/Packets/SetTool.c (diff)
Commit 256e55778d4131dc7363b1ba1743f877246dc3aa by 16738302+Haxk20
Packets: WorldUpdate.c: Simplify initialization of empty vector
(commit: 256e557)
The file was modified Source/Server/Packets/WorldUpdate.c (diff)