(svn r13044) -Fix: deleting an already deleted window.

This commit is contained in:
rubidium 2008-05-11 14:09:38 +00:00
parent 9066a961e7
commit 568464aa96

View File

@ -1635,7 +1635,6 @@ static void NetworkJoinStatusWindowWndProc(Window *w, WindowEvent *e)
case WE_CLICK: case WE_CLICK:
if (e->we.click.widget == 2) { //Disconnect button if (e->we.click.widget == 2) { //Disconnect button
NetworkDisconnect(); NetworkDisconnect();
delete w;
SwitchMode(SM_MENU); SwitchMode(SM_MENU);
ShowNetworkGameWindow(); ShowNetworkGameWindow();
} }