# HG changeset patch # User Patric Stout # Date 2021-07-11 09:39:24 # Node ID a9f8688bc8089bc7c339714ea146923f163a5bd4 # Parent eaed796ad8c91d56de7e14c9d5529c48201ead87 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. diff --git a/src/newgrf.cpp b/src/newgrf.cpp --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -9853,6 +9853,8 @@ void LoadNewGRF(uint load_index, uint nu num_non_static++; } + num_grfs++; + LoadNewGRFFile(c, stage, subdir, false); if (stage == GLS_RESERVE) { SetBit(c->flags, GCF_RESERVED);