Made MTF_NOINFIGHTING work.

This commit is contained in:
inkoalawetrust 2025-02-20 15:07:18 +02:00 committed by Ricardo Luís Vaz Silva
parent 7bdffa2592
commit 286371791a

View file

@ -5370,6 +5370,10 @@ void AActor::HandleSpawnFlags ()
{
flags4 |= MF4_STANDSTILL;
}
if (SpawnFlags & MTF_NOINFIGHTING)
{
flags5 |= MF5_NOINFIGHTING;
}
if (SpawnFlags & MTF_FRIENDLY)
{
flags |= MF_FRIENDLY;