Commit 4ad2885f authored by Steven Fuller's avatar Steven Fuller

update ReadSaveTag to accept version 0 savegames.

parent d3123487
......@@ -523,7 +523,7 @@ int ReadSaveTag(char *fn, char *tag)
goto rstfail;
v = ReadInt32(fd);
if (v != 0xFFFFFFFF)
if (v != 0xFFFFFFFF && v != 0x00000000) /* -1 and 0 are the same */
goto rstfail;
ReadBytes(fd, (byte *)buf, 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment