author | rubidium |
Tue, 25 Nov 2008 23:24:38 +0000 | |
changeset 10382 | 5d680d4296e1 |
parent 10381 | c043aa0c1695 |
child 10383 | 7aee0e95303f |
src/main_gui.cpp | file | annotate | diff | comparison | revisions |
--- a/src/main_gui.cpp Tue Nov 25 23:21:58 2008 +0000 +++ b/src/main_gui.cpp Tue Nov 25 23:24:38 2008 +0000 @@ -267,7 +267,9 @@ 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;