Browse Source

Close devilutionx_mpq instead of trying to close patch_rt_mpq twice

pull/2539/head
ephphatha 5 years ago committed by Anders Jenbo
parent
commit
aec1491c98
  1. 4
      Source/init.cpp

4
Source/init.cpp

@ -128,8 +128,8 @@ void init_cleanup()
hfopt2_mpq = nullptr;
}
if (devilutionx_mpq != nullptr) {
SFileCloseArchive(patch_rt_mpq);
patch_rt_mpq = nullptr;
SFileCloseArchive(devilutionx_mpq);
devilutionx_mpq = nullptr;
}
NetClose();

Loading…
Cancel
Save