summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-09 12:17:01 +0000
committerrubidium <rubidium@openttd.org>2008-06-09 12:17:01 +0000
commit657bbf305e89634d13b35eb88f6de1b66f86780a (patch)
tree5ac847d08af85cd81c504bf8f3e973528125d6a0 /src/main_gui.cpp
parent2f59734909c9852cd2ca8ff1b529a6d37d9e8eca (diff)
downloadopenttd-657bbf305e89634d13b35eb88f6de1b66f86780a.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.cpp2
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;