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 Loïc Guilloux
parent fa4245dcba
commit 5b0b7ba354
4 changed files with 19 additions and 18 deletions

View File

@@ -1158,7 +1158,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) {