summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-20 04:01:28 +0000
committerbelugas <belugas@openttd.org>2008-01-20 04:01:28 +0000
commit2c5c97346b49769c62920e5b0110dd789b3e79fe (patch)
treef1edb553d98df12fb6eae74a7b21bf725c352a80 /src
parent3423032dbbcbe5aeac4430fc2701d0ae19f7289a (diff)
downloadopenttd-2c5c97346b49769c62920e5b0110dd789b3e79fe.tar.xz
(svn r11932) -Codechange: Forgot two occurences of widget enumification
Diffstat (limited to 'src')
-rw-r--r--src/intro_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intro_gui.cpp b/src/intro_gui.cpp
index 9c6d034ae..8112e7049 100644
--- a/src/intro_gui.cpp
+++ b/src/intro_gui.cpp
@@ -88,7 +88,7 @@ static void SelectGameWndProc(Window *w, WindowEvent *e)
#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;
+ if (SGI_GENERATE_GAME <= e->we.click.widget && e->we.click.widget <= SGI_EDIT_SCENARIO) _is_network_server = false;
#endif /* ENABLE_NETWORK */
switch (e->we.click.widget) {