Temporarily new network port

This commit is contained in:
simon.kagstrom 2010-02-06 14:01:22 +00:00
parent 332264abcb
commit c1a7977ba3

View File

@ -95,7 +95,7 @@ Prefs::Prefs()
this->NetworkAvatar = 0; this->NetworkAvatar = 0;
snprintf(this->NetworkName, 32, "Unset name"); snprintf(this->NetworkName, 32, "Unset name");
snprintf(this->NetworkServer, 64, "play.c64-network.org"); snprintf(this->NetworkServer, 64, "play.c64-network.org");
this->NetworkPort = 46214; this->NetworkPort = 46215; // FIXME! Set back to 46214 when ready
} }
@ -384,8 +384,9 @@ void Prefs::Load(char *filename)
strcpy(NetworkName, value); strcpy(NetworkName, value);
else if (!strcmp(keyword, "NetworkServer")) else if (!strcmp(keyword, "NetworkServer"))
strcpy(NetworkServer, value); strcpy(NetworkServer, value);
else if (!strcmp(keyword, "NetworkPort")) #warning take back in real release
NetworkPort = atoi(value); // else if (!strcmp(keyword, "NetworkPort"))
// NetworkPort = atoi(value);
else if (!strcmp(keyword, "NetworkName")) else if (!strcmp(keyword, "NetworkName"))
strcpy(NetworkName, value); strcpy(NetworkName, value);
else if (!strcmp(keyword, "NetworkAvatar")) else if (!strcmp(keyword, "NetworkAvatar"))