From 6f0c6fb2aee54ac1b05cecd3f2e205b77ee4d0fc Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 11 Jul 2021 11:39:24 +0200 Subject: Fix a4987233: NewGRFs could no longer be loaded from the NewGRF folder. This statement was removed by accident, as it felt it could be removed. But it is used to know if the NewGRF is from the baseset folder or from the NewGRF folder. --- src/newgrf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 17e5ee6a0..d5dfc427c 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -9853,6 +9853,8 @@ void LoadNewGRF(uint load_index, uint num_baseset) num_non_static++; } + num_grfs++; + LoadNewGRFFile(c, stage, subdir, false); if (stage == GLS_RESERVE) { SetBit(c->flags, GCF_RESERVED); -- cgit v1.2.3-54-g00ecf