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
1 changed files with 1 additions and 0 deletions

View File

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