mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
make the pcx decode actually work
This commit is contained in:
parent
a5b51a95d7
commit
d91c5c9282
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue