mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-06 16:36:32 +02:00
Turn "save from newer version" back into an error, until an improved method of checking compatibility can be devised
This commit is contained in:
@@ -464,8 +464,10 @@ void GameSave::readOPS(char * data, int dataLength)
|
|||||||
|
|
||||||
//From newer version
|
//From newer version
|
||||||
if (savedVersion > SAVE_VERSION)
|
if (savedVersion > SAVE_VERSION)
|
||||||
|
{
|
||||||
fromNewerVersion = true;
|
fromNewerVersion = true;
|
||||||
//throw ParseException(ParseException::WrongVersion, "Save from newer version");
|
throw ParseException(ParseException::WrongVersion, "Save from newer version");
|
||||||
|
}
|
||||||
|
|
||||||
//Incompatible cell size
|
//Incompatible cell size
|
||||||
if (inputData[5] > CELL)
|
if (inputData[5] > CELL)
|
||||||
|
Reference in New Issue
Block a user