From f4ec9be44dbcadb830a91b0c7123d3130addf7a0 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 26 Oct 2025 09:51:17 +0000 Subject: [PATCH] Flush logfile when writing hunk log --- code/qcommon/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 22ee4270..a74aeece 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -1485,6 +1485,7 @@ void Hunk_Log( void) { FS_Write(buf, strlen(buf), logfile); Com_sprintf(buf, sizeof(buf), "%d hunk blocks\r\n", numBlocks); FS_Write(buf, strlen(buf), logfile); + FS_Flush(logfile); } /* @@ -1535,6 +1536,7 @@ void Hunk_SmallLog( void) { FS_Write(buf, strlen(buf), logfile); Com_sprintf(buf, sizeof(buf), "%d hunk blocks\r\n", numBlocks); FS_Write(buf, strlen(buf), logfile); + FS_Flush(logfile); } /*