Since WorldThingDestroyed is the reverse of WorldThingSpawned, it should ignore actors that didn't call PostBeginPlay.
This commit is contained in:
parent
89c475c2d1
commit
26d38e6527
3 changed files with 6 additions and 0 deletions
|
|
@ -309,6 +309,7 @@ DEFINE_ACTION_FUNCTION(DThinker, PostBeginPlay)
|
|||
|
||||
void DThinker::CallPostBeginPlay()
|
||||
{
|
||||
ObjectFlags |= OF_Spawned;
|
||||
IFVIRTUAL(DThinker, PostBeginPlay)
|
||||
{
|
||||
// Without the type cast this picks the 'void *' assignment...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue