Merge pull request #9 from sndth/fix-audio-pointer-dangling-2
Fix issue with dangling playSoundInstance pointer
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user