- Added textual descriptions of the zlib errors.
SVN r3689 (trunk)
This commit is contained in:
parent
c197d0687c
commit
08272a29ad
6 changed files with 39 additions and 5 deletions
|
|
@ -2513,7 +2513,7 @@ bool G_ProcessIFFDemo (char *mapname)
|
|||
int r = uncompress (uncompressed, &uncompSize, demo_p, uLong(zdembodyend - demo_p));
|
||||
if (r != Z_OK)
|
||||
{
|
||||
Printf ("Could not decompress demo!\n");
|
||||
Printf ("Could not decompress demo! %s\n", M_ZLibError(r));
|
||||
delete[] uncompressed;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue