Fix memory leak in EmergeManager

EmergeManager keeps a copy of the BiomeGen that it creates, but
never deletes it.
This commit is contained in:
Daroc Alden 2022-03-14 16:01:36 -04:00 committed by sfan5
parent b4f0e834bf
commit ac139ec03d

@ -202,6 +202,7 @@ EmergeManager::~EmergeManager()
delete m_mapgens[i]; delete m_mapgens[i];
} }
delete biomegen;
delete biomemgr; delete biomemgr;
delete oremgr; delete oremgr;
delete decomgr; delete decomgr;