Changeset - r6555:9ef973fe9db5
[Not reviewed]
master
0 1 0
rubidium - 18 years ago 2007-04-30 20:05:31
rubidium@openttd.org
(svn r9757) -Fix [FS#1244842]: when you have closed the "Load game"/"New game" windows accessible from the "New Server" window, any creation of new game/loading from the intro menu should not start a server.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/intro_gui.cpp
Show inline comments
 
@@ -64,6 +64,10 @@ static void SelectGameWndProc(Window *w,
 
		break;
 

	
 
	case WE_CLICK:
 
		/* 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;
 

	
 
		switch (e->we.click.widget) {
 
		case 2: ShowGenerateLandscape(); break;
 
		case 3: ShowSaveLoadDialog(SLD_LOAD_GAME); break;
0 comments (0 inline, 0 general)