- fixed: The default constructor for DThinker needs to set the OF_JustSpawned flag.

Without this, PostBeginPlay will not get called so several things aren't initialized, like weapon slots and other player settings.
This commit is contained in:
Christoph Oelckers 2019-01-15 19:13:59 +01:00
parent c6866bad4d
commit 3e34725966

View file

@ -122,7 +122,10 @@ public:
FLevelLocals *Level;
protected:
DThinker() = default;
DThinker()
{
ObjectFlags |= OF_JustSpawned;
}
private:
void Remove();