Missing element fix no.823712

Off-by-one in 4c2c95c72b. This would cause the most recently added element in any specific version of the game between versions 78.1 and 96.0 to be reported as missing in saves made with that version of the game.
This commit is contained in:
Tamás Bálint Misius
2025-02-21 19:43:28 +01:00
parent 3b19f846b9
commit 3aed58545f

View File

@@ -123,7 +123,7 @@ void GameSave::MapPalette()
found = info;
}
}
for (int i = 1; i < found.maxValid; i++)
for (int i = 1; i <= found.maxValid; i++)
{
if (i >= found.golHoleFirst && i <= found.golHoleLast)
{