diff options
author | rubidium <rubidium@openttd.org> | 2011-02-08 20:47:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-08 20:47:48 +0000 |
commit | 5286de116b56629044c93a78292ff8d0bebef32c (patch) | |
tree | 4eb0ab921b28cccf98445be19d212f1dc608a55f /src/main_gui.cpp | |
parent | 0c873d2bc6276ff90a4358bd02e36b5d06688b8b (diff) | |
download | openttd-5286de116b56629044c93a78292ff8d0bebef32c.tar.xz |
(svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index f6141a2cf..3f43dcdc8 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -331,11 +331,8 @@ struct MainWindow : Window break; case GHK_MONEY: // 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, CMD_MONEY_CHEAT); + /* You can only cheat for money in single player. */ + if (!_networking) DoCommandP(0, 10000000, 0, CMD_MONEY_CHEAT); break; case GHK_UPDATE_COORDS: // Update the coordinates of all station signs |