summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-11 14:09:38 +0000
committerrubidium <rubidium@openttd.org>2008-05-11 14:09:38 +0000
commit568464aa96c04511e6f3d2af39bed2fba2b98697 (patch)
tree2f27657beae9554f94a162a3b49979c3e66a68a1
parent9066a961e70a4d4a517583219fd63b25b3acf8dd (diff)
downloadopenttd-568464aa96c04511e6f3d2af39bed2fba2b98697.tar.xz
(svn r13044) -Fix: deleting an already deleted window.
-rw-r--r--src/network/network_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index aa0058464..e1583ce7d 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1635,7 +1635,6 @@ static void NetworkJoinStatusWindowWndProc(Window *w, WindowEvent *e)
case WE_CLICK:
if (e->we.click.widget == 2) { //Disconnect button
NetworkDisconnect();
- delete w;
SwitchMode(SM_MENU);
ShowNetworkGameWindow();
}