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
+1 -1
View File
@@ -91,7 +91,7 @@ void AddChangedPersistentStorage(BasePersistentStorageArray *storage)
/* Discard all temporary changes */
for (auto &it : *_changed_storage_arrays) {
Debug(desync, 1, "Discarding persistent storage changes: Feature {}, GrfID {:08X}, Tile {}", it->feature, BSWAP32(it->grfid), it->tile);
Debug(desync, 2, "warning: discarding persistent storage changes: Feature {}, GrfID {:08X}, Tile {}", it->feature, BSWAP32(it->grfid), it->tile);
it->ClearChanges();
}
_changed_storage_arrays->clear();