src/main_gui.cpp
changeset 10382 5d680d4296e1
parent 10208 72c00af5c95d
child 10438 51bff16a04c9
--- 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;