Revert "- Fixed bad NULL return value in AActor::StaticSpawn."

This reverts commit d5352fa550.

In master AActor::StaticSpawn now can't return NULL but there are still some null pointer checks.
This commit is contained in:
drfrag 2019-10-07 20:04:00 +02:00
parent d5352fa550
commit d200c171ca

View file

@ -4562,7 +4562,7 @@ AActor *AActor::StaticSpawn (PClassActor *type, const DVector3 &pos, replace_t a
actor->CallBeginPlay ();
if (actor->ObjectFlags & OF_EuthanizeMe)
{
return actor;
return NULL;
}
}
if (level.flags & LEVEL_NOALLIES && !actor->player)