summaryrefslogtreecommitdiffstats
path: root/modules/enet/networked_multiplayer_enet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.cpp')
-rw-r--r--modules/enet/networked_multiplayer_enet.cpp7
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;