mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-01 00:21:19 +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;
|
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
|
||||||
|
|
Loading…
Reference in a new issue