You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
ENet code cleanup and changes from review.
This commit is contained in:
@@ -163,13 +163,6 @@ void NetworkedMultiplayerENet::poll() {
|
||||
break;
|
||||
}
|
||||
|
||||
IP_Address ip;
|
||||
#ifdef GODOT_ENET
|
||||
ip.set_ipv6((uint8_t *)&(event.peer->address.host));
|
||||
#else
|
||||
ip.set_ipv4((uint8_t *)&(event.peer->address.host));
|
||||
#endif
|
||||
|
||||
int *new_id = memnew(int);
|
||||
*new_id = event.data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user