]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
increased max pcx size to 320x256
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 31 Oct 2000 01:33:14 +0000 (01:33 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 31 Oct 2000 01:33:14 +0000 (01:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@70 d7cf8633-e32d-0410-b094-e92efae38249

image.c

diff --git a/image.c b/image.c
index 8432dcdc70488fc0ed206e456d38cb285331cfd0..d48bee4ede3948d268925bb3ed2be4812a629472 100644 (file)
--- 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;