diff options
author | rubidium <rubidium@openttd.org> | 2008-06-09 12:17:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-09 12:17:01 +0000 |
commit | 35f3284a607fd5c1d1e43be0bef7fc42da25fc68 (patch) | |
tree | 5ac847d08af85cd81c504bf8f3e973528125d6a0 /src/main_gui.cpp | |
parent | b9eea932378fb85ed40f7e88fc93092e5bc056e5 (diff) | |
download | openttd-35f3284a607fd5c1d1e43be0bef7fc42da25fc68.tar.xz |
(svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 51ab5bf11..e581f4564 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -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; |