(svn r14633) -Fix: compile failure when building a debug build without network support.

This commit is contained in:
rubidium 2008-11-25 23:24:38 +00:00
parent 34ddda1009
commit 131f9e39d3
1 changed files with 2 additions and 0 deletions

View File

@ -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;