(svn r10145) -Fix: make compiling with networking disabled (again) possible.

This commit is contained in:
rubidium
2007-06-13 17:34:05 +00:00
parent 8a1c9187a1
commit 197a8fd5f3
4 changed files with 9 additions and 1 deletions

View File

@@ -64,9 +64,11 @@ static void SelectGameWndProc(Window *w, WindowEvent *e)
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;