summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c
index e6c95e655..008067e4d 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -26,7 +26,7 @@ void ConnectToServer(byte* b)
{
_networking = true;
- NetworkInitialize();
+ NetworkInitialize(b);
DEBUG(misc, 1) ("Connecting to %s %d\n", b, _network_port);
NetworkConnect(b, _network_port);
}
@@ -177,7 +177,7 @@ void ShowNetworkGameWindow()
void StartServer()
{
_networking = true;
- NetworkInitialize();
+ NetworkInitialize(NULL);
DEBUG(misc, 1) ("Listening on port %d\n", _network_port);
NetworkListen(_network_port);
_networking_server = true;