Browse Source

Merge pull request #64 from Vincenz099/master

Return 0 instead of -1 on enet_protocol_receive_incoming_commands
Stanislav Denisov 5 years ago
parent
commit
6dd866ef58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Native/enet.h

+ 1 - 1
Source/Native/enet.h

@@ -2494,7 +2494,7 @@ extern "C" {
 			}
 		}
 
-		return -1;
+		return 0;
 	}
 
 	static void enet_protocol_send_acknowledgements(ENetHost* host, ENetPeer* peer) {