mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Test all full hashes in non-visual replaymode by default and keep skipping quick-hash by default.
The previous code only tested quick hashes every 100 turns and could not be used to confirm replay hashes matching. The option can become used for visual replays too. Differential Revision: https://code.wildfiregames.com/D1538 Refs #5162 Reviewed By: temple This was SVN commit r21829.
This commit is contained in:
+3
-1
@@ -554,7 +554,9 @@ static void RunGameOrAtlas(int argc, const char* argv[])
|
||||
replay.Replay(
|
||||
args.Has("serializationtest"),
|
||||
args.Has("rejointest") ? args.Get("rejointest").ToInt() : -1,
|
||||
args.Has("ooslog"));
|
||||
args.Has("ooslog"),
|
||||
!args.Has("hashtest-full") || args.Get("hashtest-full") == "true",
|
||||
args.Has("hashtest-quick") && args.Get("hashtest-quick") == "true");
|
||||
}
|
||||
|
||||
g_VFS.reset();
|
||||
|
||||
Reference in New Issue
Block a user