Mercurial > hg > openttd
diff src/main_gui.cpp @ 17288:32dbb86666ff draft
(svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 08 Feb 2011 20:47:48 +0000 (2011-02-08) |
parents | 84f869ec145a |
children | 750d56071240 |
line wrap: on
line diff
--- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -331,11 +331,8 @@ 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