mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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:
parent
d304e86354
commit
5c392a220d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue