make reject matrix print an error instead of warning

better on 2nd thought as this may crash vanilla clients that use nametags
This commit is contained in:
alufolie91 committed 2026-06-13 13:20:54 +02:00
1 parent 2c1bb6c268
commit 14aaba7a87
1 file changed
+1 -1
+1 -1
View File
@@ -1796,7 +1796,7 @@ static void P_LoadReject(UINT8 *data, size_t rejectsize)
{
if (rejectsize < neededsize)
{
CONS_Alert(CONS_WARNING, "REJECT is %lu byte%s too small. REJECT might be invalid and might crash vanilla clients!\n", (neededsize - rejectsize), (neededsize - rejectsize) == 1 ? "" : "s");
CONS_Alert(CONS_ERROR, "REJECT is %lu byte%s too small. REJECT might be invalid and might crash vanilla clients!\n", (neededsize - rejectsize), (neededsize - rejectsize) == 1 ? "" : "s");
allocsize = neededsize;
}