This commit is contained in:
Christian Semmler 2025-01-17 15:31:12 -07:00
parent eac59b7b31
commit 37e0a89cfe
2 changed files with 2 additions and 2 deletions

View File

@ -340,10 +340,10 @@ function(add_lego_libraries NAME)
LEGO1/lego/legoomni/src/common/legovariables.cpp
LEGO1/lego/legoomni/src/actors/pizza.cpp
LEGO1/lego/legoomni/src/common/legogamestate.cpp
LEGO1/lego/legoomni/src/actors/act3ammo.cpp
LEGO1/lego/legoomni/src/audio/legocachesoundmanager.cpp
LEGO1/lego/legoomni/src/common/legoutils.cpp
LEGO1/lego/legoomni/src/actors/act3actors.cpp
LEGO1/lego/legoomni/src/actors/act3ammo.cpp
LEGO1/lego/legoomni/src/control/legometerpresenter.cpp
LEGO1/lego/legoomni/src/common/legoactioncontrolpresenter.cpp
LEGO1/lego/legoomni/src/common/mxcontrolpresenter.cpp

View File

@ -20,9 +20,9 @@ LegoCacheSoundManager::~LegoCacheSoundManager()
while (!m_list.empty()) {
sound = (*m_list.begin()).GetSound();
// TODO: LegoCacheSoundEntry::~LegoCacheSoundEntry should not be inlined here
m_list.erase(m_list.begin());
sound->Stop();
// DECOMP: delete should not be inlined here
delete sound;
}
}