From 56be9fe3dc346052959a5e50b7b883a20ad969c5 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Tue, 31 Oct 2000 01:33:14 +0000 Subject: [PATCH] increased max pcx size to 320x256 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@70 d7cf8633-e32d-0410-b094-e92efae38249 --- image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image.c b/image.c index 8432dcdc..d48bee4e 100644 --- a/image.c +++ b/image.c @@ -54,8 +54,8 @@ byte* LoadPCX (FILE *f, int matchwidth, int matchheight) || pcx->version != 5 || pcx->encoding != 1 || pcx->bits_per_pixel != 8 - || pcx->xmax >= 320 - || pcx->ymax >= 256) + || pcx->xmax > 320 + || pcx->ymax > 256) { Con_Printf ("Bad pcx file\n"); return NULL; -- 2.39.2