Fix an incorrect assertion
This commit is contained in:
parent
ef3c33c5b0
commit
ff6a70288b
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ static int sendMessageEnet(short ptype, short paylen, const void* payload) {
|
|||
ENetPacket* enetPacket;
|
||||
ENetEvent event;
|
||||
|
||||
LC_ASSERT(ServerMajorVersion > 5);
|
||||
LC_ASSERT(ServerMajorVersion >= 5);
|
||||
|
||||
packet = malloc(sizeof(*packet) + paylen);
|
||||
if (packet == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue