diff options
author | yexo <yexo@openttd.org> | 2010-01-15 20:20:24 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-15 20:20:24 +0000 |
commit | 72572a0586e3444af1c78c835a7f50fa5ca4be53 (patch) | |
tree | 68bd1041aa38cbc01892bb62a28f33bc76a9a077 /src | |
parent | 785b7e3382e4f46fb38cf276f9b02d62a195920e (diff) | |
download | openttd-72572a0586e3444af1c78c835a7f50fa5ca4be53.tar.xz |
(svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index bf942dff3..3ec7f194e 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -382,6 +382,7 @@ public: /* Copy GRF details from scanned list */ GRFConfig *c = DuplicateGRFConfig(src); + c->next = NULL; /* Append GRF config to configuration list */ *list = c; |