src/intro_gui.cpp
branchNewGRF_ports
changeset 6720 35756db7e577
parent 6719 4cc327ad39d5
child 6725 23339968083f
--- a/src/intro_gui.cpp	Sat Jun 02 19:59:29 2007 +0000
+++ b/src/intro_gui.cpp	Sat Jul 14 19:42:58 2007 +0000
@@ -64,9 +64,11 @@
 		break;
 
 	case WE_CLICK:
+#ifdef ENABLE_NETWORK
 		/* Do not create a network server when you (just) have closed one of the game
 		 * creation/load windows for the network server. */
 		if (2 <= e->we.click.widget && e->we.click.widget <= 6) _is_network_server = false;
+#endif /* ENABLE_NETWORK */
 
 		switch (e->we.click.widget) {
 		case 2: ShowGenerateLandscape(); break;