Changeset - r26033:d5f3e0297f76
[Not reviewed]
master
0 1 0
Loïc Guilloux - 3 years ago 2021-10-20 20:14:23
glx22@users.noreply.github.com
Change: Don't store not to be activated newGRFs in savegames (#9627)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/newgrf_sl.cpp
Show inline comments
 
@@ -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);
 
		}
0 comments (0 inline, 0 general)