From 3faa5e105405f69b96862638727d77a4c5cca2ff Mon Sep 17 00:00:00 2001 From: RauliTop Date: Fri, 8 Apr 2022 21:45:16 +0200 Subject: [PATCH] TESTING: fix SZ_GetSpace crash due to console overflow --- rehlds/engine/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/common.cpp b/rehlds/engine/common.cpp index c9f07a6..ea1685b 100644 --- a/rehlds/engine/common.cpp +++ b/rehlds/engine/common.cpp @@ -1238,7 +1238,7 @@ void *EXT_FUNC SZ_GetSpace(sizebuf_t *buf, int length) } #endif // REHLDS_FIXES - Con_Printf("%s: overflow on %s\n", __func__, buffername); + Con_NetPrintf("%s: overflow on %s\n", __func__, buffername); SZ_Clear(buf); buf->flags |= SIZEBUF_OVERFLOWED;