Skip to content

Commit

Permalink
FatalError ThrowException
Browse files Browse the repository at this point in the history
  • Loading branch information
ioan-chera committed Nov 5, 2023
1 parent e6a7d1b commit 10f8f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsp_level.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ void ZLibBeginLump(Lump_c *lump)
zout_stream.opaque = (voidpf)0;

if (Z_OK != deflateInit(&zout_stream, Z_DEFAULT_COMPRESSION))
FatalError("Trouble setting up zlib compression\n");
ThrowException("Trouble setting up zlib compression\n");

zout_stream.next_out = zout_buffer;
zout_stream.avail_out = sizeof(zout_buffer);
Expand Down

0 comments on commit 10f8f05

Please sign in to comment.