Skip to content

Commit

Permalink
Fixed another error
Browse files Browse the repository at this point in the history
  • Loading branch information
ioan-chera committed Aug 11, 2023
1 parent 4d77273 commit 0c2c12d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/w_wad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -987,12 +987,6 @@ void Wad_file::FixLevelGroup(int index, int num_added, int num_removed)
//
void Wad_file::writeToPath(const fs::path &path) const noexcept(false)
{
auto check = [&path](const ReportedResult &result)
{
if(!result.success)
throw WadWriteException(SString::printf("Failed writing WAD to file '%s': %s", path.u8string().c_str(), result.message.c_str()));
};

BufferedOutFile sof(path);
// Write the header
if(kind == WadKind::PWAD)
Expand Down

0 comments on commit 0c2c12d

Please sign in to comment.