diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2017-03-23 13:27:41 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2017-03-24 02:30:11 +0100 |
commit | 0450e6539ea77f8c56b244aef27ec45c69e1dcdb (patch) | |
tree | cca29f33f7aa6737bdda5e8a94df436d605bd289 /modules | |
parent | ed075c4c800f342681b94781b9a3e3c268a59de0 (diff) |
ENet code cleanup and changes from review.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/enet/networked_multiplayer_enet.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/enet/networked_multiplayer_enet.cpp b/modules/enet/networked_multiplayer_enet.cpp index 9e6a171d7f..13760b33aa 100644 --- a/modules/enet/networked_multiplayer_enet.cpp +++ b/modules/enet/networked_multiplayer_enet.cpp @@ -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; |