- fixed: Actors moved to STAT_TRAVELLING need to preserve their JUSTSPAWNED flag.

Otherwise freshly spawned inventory items won't call PostBeginPlay.
This commit is contained in:
Christoph Oelckers 2020-09-26 19:37:30 +02:00
parent d304e86354
commit 5c392a220d
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ void FThinkerCollection::Link(DThinker *thinker, int statnum)
}
else
{
thinker->ObjectFlags &= ~OF_JustSpawned;
if (statnum != STAT_TRAVELLING) thinker->ObjectFlags &= ~OF_JustSpawned;
list = &Thinkers[statnum];
}
list->AddTail(thinker);