Added spawn origin flags.

- Added new spawn flags that allow for checking if an actor was spawned by the level, the console, or ACS/DECORATE/ZScript.
This commit is contained in:
inkoalawetrust 2025-02-07 02:28:59 +02:00 committed by Ricardo Luís Vaz Silva
commit b54da619ad
4 changed files with 12 additions and 0 deletions

View file

@ -5352,6 +5352,7 @@ void AActor::LevelSpawned ()
{
flags &= ~MF_DROPPED;
}
SpawnFlags |= MTF_MAPTHING;
HandleSpawnFlags ();
}