Change: Don't store not to be activated newGRFs in savegames (#9627)

pull/332/head
Loïc Guilloux 3 years ago committed by GitHub
parent bc1b84cbbb
commit f2c03a77f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@ struct NGRFChunkHandler : ChunkHandler {
int index = 0;
for (GRFConfig *c = _grfconfig; c != nullptr; c = c->next) {
if (HasBit(c->flags, GCF_STATIC)) continue;
if (HasBit(c->flags, GCF_STATIC) || HasBit(c->flags, GCF_INIT_ONLY)) continue;
SlSetArrayIndex(index++);
SlObject(c, _grfconfig_desc);
}

Loading…
Cancel
Save