diff options
author | Patric Stout <truebrain@openttd.org> | 2021-07-11 11:39:24 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-07-11 12:16:07 +0200 |
commit | 6f0c6fb2aee54ac1b05cecd3f2e205b77ee4d0fc (patch) | |
tree | 55a6db525676f1ca267fd5000993f054d4270117 /src | |
parent | a4987233454b65c7ebcee37fb22e37c13638476d (diff) | |
download | openttd-6f0c6fb2aee54ac1b05cecd3f2e205b77ee4d0fc.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |