Only print a warning instead of dropping when the next snapshot is out of range

This commit is contained in:
smallmodel 2024-10-21 21:26:07 +02:00 committed by GitHub
parent 8ecbe1dd79
commit c580ccdee1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -347,8 +347,10 @@ static snapshot_t *CG_ReadNextSnapshot(void)
snapshot_t *dest;
if (cg.latestSnapshotNum > cgs.processedSnapshotNum + 1000) {
cgi.Error(
ERR_DROP, "CG_ReadNextSnapshot: way out of range, %i > %i", cg.latestSnapshotNum, cgs.processedSnapshotNum
cgi.Printf(
"WARNING: CG_ReadNextSnapshot: way out of range, %i > %i\n",
cg.latestSnapshotNum,
cgs.processedSnapshotNum
);
}