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.
This commit is contained in:
Patric Stout 2021-07-11 11:39:24 +02:00 committed by Patric Stout
parent a498723345
commit 6f0c6fb2ae
1 changed files with 2 additions and 0 deletions

View File

@ -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);