From 71d7d02eaf4f86895e058c5a2fa8eb3354c49db2 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Tue, 12 Sep 2017 23:12:33 +0000 Subject: [PATCH] SZ_GetSpace: change overflow Sys_Error to Host_Error this happens for maps that exceed the signon buffer and makes it a bit less annoying git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1499 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/common.c b/Quake/common.c index 473a492d..a4490016 100644 --- a/Quake/common.c +++ b/Quake/common.c @@ -955,7 +955,7 @@ void *SZ_GetSpace (sizebuf_t *buf, int length) if (buf->cursize + length > buf->maxsize) { if (!buf->allowoverflow) - Sys_Error ("SZ_GetSpace: overflow without allowoverflow set"); + Host_Error ("SZ_GetSpace: overflow without allowoverflow set"); // ericw -- made Host_Error to be less annoying if (length > buf->maxsize) Sys_Error ("SZ_GetSpace: %i is > full buffer size", length);