summaryrefslogtreecommitdiff
path: root/src
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
commitaa0929351d32aeffc1e67bb1c9a8f8a4495e63c6 (patch)
tree2f27657beae9554f94a162a3b49979c3e66a68a1 /src
parent4a46a5cddaac140458d8cae738c4556260338e22 (diff)
downloadopenttd-aa0929351d32aeffc1e67bb1c9a8f8a4495e63c6.tar.xz
(svn r13044) -Fix: deleting an already deleted window.
Diffstat (limited to 'src')
-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();
}