Skip to content

Commit

Permalink
Eliminate unnecessary removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ioan-chera committed Nov 4, 2023
1 parent b792467 commit 6423860
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/WadData.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ void WadData::reloadResources(const LoadingData &loading, const ConfigData &conf
WadData newWad = *this;
try
{
if (newWad.master.edit_wad)
newWad.master.MasterDir_Remove(newWad.master.edit_wad);

newWad.master.MasterDir_CloseAll();

// TODO: check result
Expand Down

0 comments on commit 6423860

Please sign in to comment.