diff --git a/src/playsim/a_action.cpp b/src/playsim/a_action.cpp index c5e96adcd..63fca0ece 100644 --- a/src/playsim/a_action.cpp +++ b/src/playsim/a_action.cpp @@ -105,6 +105,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_QueueCorpse) corpsequeue.Delete(0); } corpsequeue.Push(self); + GC::WriteBarrier(self); } return 0; }