make the pcx decode actually work

This commit is contained in:
Ludwig Nussel 2008-02-14 13:30:32 +00:00
parent a5b51a95d7
commit d91c5c9282

View file

@ -91,6 +91,7 @@ void R_LoadPCX ( const char *filename, byte **pic, int *width, int *height)
w = LittleShort(pcx->xmax)+1; w = LittleShort(pcx->xmax)+1;
h = LittleShort(pcx->ymax)+1; h = LittleShort(pcx->ymax)+1;
size = w*h;
if (pcx->manufacturer != 0x0a if (pcx->manufacturer != 0x0a
|| pcx->version != 5 || pcx->version != 5