Codechange: replace INVALID_X with XID::Invalid() for PoolIDs
This commit is contained in:
@@ -53,7 +53,7 @@ struct GRPSChunkHandler : ChunkHandler {
|
||||
Group *g = new (index) Group();
|
||||
SlObject(g, slt);
|
||||
|
||||
if (IsSavegameVersionBefore(SLV_189)) g->parent = INVALID_GROUP;
|
||||
if (IsSavegameVersionBefore(SLV_189)) g->parent = GroupID::Invalid();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user