forked from mirror/OpenTTD
(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network
disconnect without cleaning up.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user