summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-18 17:04:44 +0000
committerDarkvater <darkvater@openttd.org>2006-11-18 17:04:44 +0000
commit53f954edd3ecf5f9199ee684ac39685a481f8e97 (patch)
tree8c4132a7ae7df56d2180aa2fa9fa2d88c5cbcf76 /misc_gui.c
parentb3c48c0a84323838b5104e422d11b8a1250325c8 (diff)
downloadopenttd-53f954edd3ecf5f9199ee684ac39685a481f8e97.tar.xz
(svn r7206) -Codechange: Remove (some of) the magic needed for windows that could be invalid after
a call to DeleteWindow() somewhere else. Also do some cleanup with AllowWindowDescFront()
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c
index beb3e4c4e..0a6b19ccc 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1856,8 +1856,6 @@ void ShowCheatWindow(void)
DeleteWindowById(WC_CHEATS, 0);
w = AllocateWindowDesc(&_cheats_desc);
-
- if (w != NULL) SetWindowDirty(w);
}
/** Resize the widgets in a window