From 29fb97f3366aced036ccfbde37db77977cbe8c2e Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Sun, 30 Oct 2022 23:15:23 +0100 Subject: [PATCH] Do not stop the sound immediatly when an entity is deleted otherwise the trap sound is lost. --- src/decblupi.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decblupi.cxx b/src/decblupi.cxx index 092aedb..e641600 100644 --- a/src/decblupi.cxx +++ b/src/decblupi.cxx @@ -200,7 +200,7 @@ void CDecor::BlupiDelete (Sint32 rank) { m_blupi[rank].bExist = false; - this->m_pSound->StopSound (true, rank); + this->m_pSound->StopSound (false, rank); if ( !m_bBuild && // phase de jeu ?