diff options
author | rubidium <rubidium@openttd.org> | 2008-11-25 23:24:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-25 23:24:38 +0000 |
commit | 131f9e39d3ade7052c23bda339a66d32b354b9c8 (patch) | |
tree | f11d01f519fde9a846c3cfa50eb4c6674c441020 /src | |
parent | 34ddda10099fdd3cef03ac00f93df4c7e12ea564 (diff) | |
download | openttd-131f9e39d3ade7052c23bda339a66d32b354b9c8.tar.xz |
(svn r14633) -Fix: compile failure when building a debug build without network support.
Diffstat (limited to 'src')
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 21eedb9c0..91c24fd65 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -267,7 +267,9 @@ struct MainWindow : Window case '1' | WKC_ALT: // Gimme money /* Server can not cheat in advertise mode either! */ +#ifdef ENABLE_NETWORK if (!_networking || !_network_server || !_settings_client.network.server_advertise) +#endif /* ENABLE_NETWORK */ DoCommandP(0, 10000000, 0, NULL, CMD_MONEY_CHEAT); break; |