summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2007-02-27 16:05:20 +0000
committerDarkvater <Darkvater@openttd.org>2007-02-27 16:05:20 +0000
commit60866482edf3dee32237b445fcd8bf72a62ea2a9 (patch)
tree636b92a8140ebe2735152c8ff3ce01fcb2830dd8 /src/newgrf_gui.cpp
parenta0a259d32bd7f22c3d077b1ca16c43d02fb18a6b (diff)
downloadopenttd-60866482edf3dee32237b445fcd8bf72a62ea2a9.tar.xz
(svn r8918) -Revert r8914 as the inverted files have been committed not the correct one.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 54cbdd536..6d5a78b89 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -485,9 +485,6 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
break;
case WE_DESTROY:
- if (!WP(w, newgrf_d).execute) {
- CopyGRFConfigList(WP(w, newgrf_d).orig_list, *WP(w, newgrf_d).list);
- }
/* Remove the temporary copy of grf-list used in window */
ClearGRFConfigList(WP(w, newgrf_d).list);
break;