Merge pull request #9 from sndth/fix-audio-pointer-dangling-2

Fix issue with dangling playSoundInstance pointer
This commit is contained in:
d1str4ught
2025-09-02 12:06:45 +02:00
committed by GitHub

View File

@@ -1395,5 +1395,6 @@ CArea::SAmbienceInstance::SAmbienceInstance()
fy = 0.0f; fy = 0.0f;
fz = 0.0f; fz = 0.0f;
dwRange = 0; dwRange = 0;
playSoundInstance = nullptr;
fNextPlayTime = 0.0f; fNextPlayTime = 0.0f;
} }