(svn r13433) -Codechange: remove a now useless global variable.

-Fix: MP advertising was not advertising.
This commit is contained in:
rubidium
2008-06-09 12:17:01 +00:00
parent b9eea93237
commit 35f3284a60
5 changed files with 7 additions and 10 deletions

View File

@@ -289,7 +289,7 @@ struct MainWindow : Window
case '1' | WKC_ALT: // Gimme money
/* Server can not cheat in advertise mode either! */
if (!_networking || !_network_server || !_network_advertise)
if (!_networking || !_network_server || !_settings_client.network.server_advertise)
DoCommandP(0, 10000000, 0, NULL, CMD_MONEY_CHEAT);
break;