Fix segfault when Crushstaceans hit a player with Armageddon shield

This commit is contained in:
Gustaf Alhäll 2023-05-16 22:18:11 +02:00
parent b99ecde7b8
commit d4951f7cdd
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

@ -2231,7 +2231,7 @@ void A_CrushclawLaunch(mobj_t *actor)
}
}
if (!actor->target)
if (P_MobjWasRemoved(actor->target))
return;
{