CRYO: Change the version of cryo.dat to be a 32-bit integer (2/2)

Though it's unlikely that we'll ever have that many changes, it's
better to provision for more space now, for versioning
This commit is contained in:
Filippos Karapetis 2017-02-11 18:05:07 +02:00
parent fefad640cd
commit deb0857f68

View File

@ -4778,7 +4778,7 @@ void EdenGame::loadpermfiles() {
if (strcmp(headerId, "CRYODATA"))
error("Invalid aux data file");
if (f.readByte() != CRYO_DAT_VER)
if (f.readUint32LE() != CRYO_DAT_VER)
error("Incorrect aux data version");
if (dataSize != expectedDataSize)