set the default rcon_address port to 27500 rather than 0

This commit is contained in:
Bill Currie 2001-09-26 21:06:51 +00:00
parent 694619cd70
commit dec9503620

View file

@ -394,6 +394,8 @@ CL_Rcon_f (void)
return;
}
NET_StringToAdr (rcon_address->string, &to);
if (to.port == 0)
to.port = BigShort (27500);
}
NET_SendPacket (strlen (message) + 1, message, to);