summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-12 13:46:10 +0000
committertruelight <truelight@openttd.org>2004-12-12 13:46:10 +0000
commite027fa76b1a9b5ff48e645f640dac323fcdeff2c (patch)
tree4cd6dd0a1d8dfaa43f0188eed4d47202bf8a639d /main_gui.c
parent920a93071be4c8a92c99c85679408371fc8feae5 (diff)
downloadopenttd-e027fa76b1a9b5ff48e645f640dac323fcdeff2c.tar.xz
(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network
disconnect without cleaning up.
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 918b3c6a0..49e311a7a 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -51,6 +51,7 @@ void HandleOnEditTextCancel() {
#ifdef ENABLE_NETWORK
case 4:
NetworkDisconnect();
+ ShowNetworkGameWindow();
break;
#endif /* ENABLE_NETWORK */
}
@@ -2228,7 +2229,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e) {
DrawSprite(SPR_OTTD_T, off_x + 34, 50);
DrawSprite(SPR_OTTD_T, off_x + 65, 50);
DrawSprite(SPR_OTTD_D, off_x + 96, 50);
-
+
/*
DrawSprite(SPR_OTTD_R, off_x + 119, 50);
DrawSprite(SPR_OTTD_A, off_x + 148, 50);