mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 02:23:56 +00:00
Fix
This commit is contained in:
parent
004e3b3bbf
commit
e9c322fddc
@ -189,8 +189,7 @@ void Lego3DSound::FUN_10011a60(ma_sound* p_sound, const char* p_name)
|
||||
// Reset ownership flags before reassigning. Reset() only clears m_roi
|
||||
// but not these flags, so stale values from a previous actor-backed play
|
||||
// would cause an incorrect ReleaseActor call for non-actor ROIs
|
||||
m_isActor = FALSE;
|
||||
m_enabled = FALSE;
|
||||
m_enabled = m_isActor = FALSE;
|
||||
|
||||
if (CharacterManager()->IsActor(p_name)) {
|
||||
m_roi = CharacterManager()->GetActorROI(p_name, TRUE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user