Fix an incorrect assertion

This commit is contained in:
Cameron Gutman 2016-03-04 03:00:02 -05:00
parent ef3c33c5b0
commit ff6a70288b

View File

@ -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) {