- fixed incorrect write barrier in sound sequence code.

This commit is contained in:
Christoph Oelckers 2019-08-09 08:42:36 +02:00
parent 8447525019
commit a239675fb5
1 changed files with 1 additions and 1 deletions

View File

@ -808,7 +808,7 @@ DSeqNode::DSeqNode (FLevelLocals *l, int sequence, int modenum)
}
else
{
Level->SequenceListHead->m_Prev = this; GC::WriteBarrier(Level->SequenceListHead->m_Prev, this);
Level->SequenceListHead->m_Prev = this; GC::WriteBarrier(Level->SequenceListHead, this);
m_Next = Level->SequenceListHead; GC::WriteBarrier(this, Level->SequenceListHead);
Level->SequenceListHead = this;
m_Prev = nullptr;