1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Do not stop the sound immediatly when an entity is deleted

otherwise the trap sound is lost.
This commit is contained in:
Mathieu Schroeter 2022-10-30 23:15:23 +01:00
parent 91c8a778ba
commit 29fb97f336
No known key found for this signature in database
GPG Key ID: 8B9145A5FA9DA8A8

View File

@ -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 ?