diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-02-14 13:30:32 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-02-14 13:30:32 +0000 |
commit | 809c425fd55ce5e1f3a5fe3b39d4a97c24849555 (patch) | |
tree | a7401d435a9474a1c1f53cf62ca6507c441e9102 /code | |
parent | 8427f7edac0d0f21cbc78a7b52093733e28371a3 (diff) | |
download | ioquake3-aero-809c425fd55ce5e1f3a5fe3b39d4a97c24849555.tar.gz ioquake3-aero-809c425fd55ce5e1f3a5fe3b39d4a97c24849555.zip |
make the pcx decode actually work
git-svn-id: svn://svn.icculus.org/quake3/trunk@1262 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/renderer/tr_image_pcx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/code/renderer/tr_image_pcx.c b/code/renderer/tr_image_pcx.c index 2f062f2..db407de 100644 --- a/code/renderer/tr_image_pcx.c +++ b/code/renderer/tr_image_pcx.c @@ -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 |