Skip to content

Commit

Permalink
Turned level checksum test into a warning (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadult authored Jan 13, 2025
1 parent 37beccc commit c4a04f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ static vector<char> applyPatch(vector<char> &orig, vector<char> &patch) {
unsigned int checksum = crc32(0, (const unsigned char *)orig.data(), orig.size());

if(checksum != target_checksum)
FATAL("Checksum test failed. Expected: %08x got: %08x\nMake sure that map version is "
"correct.",
print("Warning: Checksum test failed. Expected: %08x got: %08x\n"
"Make sure that map version is correct.",
target_checksum, checksum);
}

Expand Down

0 comments on commit c4a04f8

Please sign in to comment.