From 37e0a89cfee036a6dc7555644167a8a9745600b3 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 17 Jan 2025 15:31:12 -0700 Subject: [PATCH] Order --- CMakeLists.txt | 2 +- LEGO1/lego/legoomni/src/audio/legocachesoundmanager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cd5ffd2..89065538 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/LEGO1/lego/legoomni/src/audio/legocachesoundmanager.cpp b/LEGO1/lego/legoomni/src/audio/legocachesoundmanager.cpp index 6338b281..289e4ea3 100644 --- a/LEGO1/lego/legoomni/src/audio/legocachesoundmanager.cpp +++ b/LEGO1/lego/legoomni/src/audio/legocachesoundmanager.cpp @@ -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; } }