Skip to content

Small SectInfo improvements

Sean Baggaley requested to merge topic/default/sectinfo-clear into branch/default

Brought on by the third point of ticket 4433, which is about !192, but also affects the default branch, and these changes should be easy to adapt for that MR:

  • Refactor SectInfo's destructor into a new Clear function
  • Clear a map's SectInfo upon encountering it when parsing a SECTINFO lump, which allows patch WADs to override a map's SECTINFO instead of it being additive
  • Fix some memory leaks in that function.

Merge request reports

Loading