Fix the source ID for a source voice stopped from deletion
This commit is contained in:
parent
552d2b1918
commit
a97e6e6a12
@ -738,7 +738,7 @@ void FreeSource(ALCcontext *context, ALsource *source)
|
||||
|
||||
voice->mPendingChange.store(true, std::memory_order_relaxed);
|
||||
vchg->mVoice = voice;
|
||||
vchg->mSourceID = id;
|
||||
vchg->mSourceID = source->id;
|
||||
vchg->mState = AL_STOPPED;
|
||||
|
||||
SendVoiceChanges(context, vchg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user