- 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

@ -54,6 +54,7 @@
#include "c_cvars.h"
#include "c_dispatch.h"
#include "d_player.h"
#include "m_misc.h"
#include "dobject.h"
// These are special tokens found in the data stream of an archive.
@ -408,7 +409,7 @@ void FCompressedFile::Explode ()
_heapchk();
M_Free (expand);
_heapchk();
I_Error ("Could not decompress cfile");
I_Error ("Could not decompress buffer: %s", M_ZLibError(r));
}
}
else