- Added textual descriptions of the zlib errors.

SVN r3689 (trunk)
This commit is contained in:
Randy Heit 2012-06-16 03:29:44 +00:00
commit 08272a29ad
6 changed files with 39 additions and 5 deletions

View file

@ -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;
}