Codechange: record cache warnings with a "warning" prefix (#12518)

This commit is contained in:
Patric Stout
2024-04-17 21:49:55 +02:00
committed by GitHub
parent a02da5476e
commit 1005c86c62
4 changed files with 19 additions and 18 deletions

View File

@@ -1210,7 +1210,8 @@ void NetworkGameLoop()
assert(ret == 4);
check_sync_state = true;
} else if (strncmp(p, "msg: ", 5) == 0 || strncmp(p, "client: ", 8) == 0 ||
strncmp(p, "load: ", 6) == 0 || strncmp(p, "save: ", 6) == 0) {
strncmp(p, "load: ", 6) == 0 || strncmp(p, "save: ", 6) == 0 ||
strncmp(p, "warning: ", 9) == 0) {
/* A message that is not very important to the log playback, but part of the log. */
#ifndef DEBUG_FAILED_DUMP_COMMANDS
} else if (strncmp(p, "cmdf: ", 6) == 0) {