# HG changeset patch # User yexo # Date 2010-01-15 20:20:24 # Node ID 3f1e3471f056e15b9835c789b02e4985351294ac # Parent 181ca63c41b0af08c5455a2dc079a995bc47d305 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp --- 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;