From: lordhavoc Date: Tue, 31 Oct 2000 01:33:14 +0000 (+0000) Subject: increased max pcx size to 320x256 X-Git-Tag: RELEASE_0_2_0_RC1~950 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=56be9fe3dc346052959a5e50b7b883a20ad969c5;p=xonotic%2Fdarkplaces.git increased max pcx size to 320x256 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@70 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;