Remove ag special case patch (#1462)

Tested that revision was never the poison value in any lvl file when starting zone 1100.
This commit is contained in:
David Markowitz 2024-02-25 05:56:01 -08:00 committed by GitHub
parent e729c7f846
commit cf706d4974
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,9 +200,6 @@ void Level::ReadFileInfoChunk(std::istream& file, Header& header) {
BinaryIO::BinaryRead(file, header.fileInfo.enviromentChunkStart); BinaryIO::BinaryRead(file, header.fileInfo.enviromentChunkStart);
BinaryIO::BinaryRead(file, header.fileInfo.objectChunkStart); BinaryIO::BinaryRead(file, header.fileInfo.objectChunkStart);
BinaryIO::BinaryRead(file, header.fileInfo.particleChunkStart); BinaryIO::BinaryRead(file, header.fileInfo.particleChunkStart);
//PATCH FOR AG: (messed up file?)
if (header.fileInfo.revision == 0xCDCDCDCD && m_ParentZone->GetZoneID().GetMapID() == 1100) header.fileInfo.revision = 26;
} }
void Level::ReadSceneObjectDataChunk(std::istream& file, Header& header) { void Level::ReadSceneObjectDataChunk(std::istream& file, Header& header) {