mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Fix #11829: Glitches when using mismatched csg1/csg1i
This commit is contained in:
committed by
GitHub
parent
4d152d97d2
commit
e89c37e7ae
@@ -1000,7 +1000,7 @@ bool RCT1DataPresentAtLocation(const utf8* path)
|
||||
|
||||
bool CsgIsUsable(const rct_gx& csg)
|
||||
{
|
||||
return csg.header.num_entries == RCT1_NUM_LL_CSG_ENTRIES;
|
||||
return csg.header.total_size == RCT1_LL_CSG1_DAT_FILE_SIZE && csg.header.num_entries == RCT1_NUM_LL_CSG_ENTRIES;
|
||||
}
|
||||
|
||||
bool CsgAtLocationIsUsable(const utf8* path)
|
||||
|
||||
Reference in New Issue
Block a user