(svn r2266) - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output
This commit is contained in:
@@ -1042,7 +1042,7 @@ DEF_CONSOLE_HOOK(ConHookRconPW)
|
||||
bool NetworkChangeCompanyPassword(byte argc, char *argv[])
|
||||
{
|
||||
if (argc == 0) {
|
||||
IConsolePrintF(_iconsole_color_warning, "Current value of 'company_pw': %s", _network_player_info[_local_player].password);
|
||||
IConsolePrintF(_iconsole_color_warning, "Current value for 'company_pw': %s", _network_player_info[_local_player].password);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1103,7 +1103,7 @@ DEF_CONSOLE_HOOK(ConHookServerAdvertise)
|
||||
DEF_CONSOLE_CMD(ConProcServerIP)
|
||||
{
|
||||
if (argc == 0) {
|
||||
IConsolePrintF(_iconsole_color_warning, "Current value of 'server_ip': %s", inet_ntoa(*(struct in_addr *)&_network_server_bind_ip));
|
||||
IConsolePrintF(_iconsole_color_warning, "Current value for 'server_ip': %s", inet_ntoa(*(struct in_addr *)&_network_server_bind_ip));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user