mas-bandwidth / netcode

Secure client/server connections over UDP
BSD 3-Clause "New" or "Revised" License
2.43k stars 191 forks source link

Fix assertions for payload bytes #80

Closed ghost closed 5 years ago

ghost commented 5 years ago

Referencing issue: #76

A couple of instances of payload bytes were being compared against MAX_PACKET_BYTES instead of MAX_PAYLOAD_BYTES. Tests are passing.