(svn r2) -Fix [993829] UDP Fixes (lucaspiller)

-Fix change 255/0xFF to OWNER_SPECTATOR for 
spectator stuff (TrueLight)
This commit is contained in:
darkvater
2004-08-10 14:14:00 +00:00
parent efaeb275f7
commit 804f038594
9 changed files with 41 additions and 24 deletions

View File

@@ -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;