Stupid P_MapStart crash because of flicky teleport before map load

This commit is contained in:
James R 2020-10-28 22:35:31 -07:00
parent 1aef75bff3
commit c609dffdab

View file

@ -12169,11 +12169,13 @@ void A_FlickyCenter(mobj_t *actor)
{
actor->extravalue2 = 1;
P_TeleportMove(actor, actor->target->x, actor->target->y, actor->target->z);
tmthing = NULL;
}
else if(actor->extravalue2)
{
actor->extravalue2 = 0;
P_TeleportMove(actor, originx, originy, originz);
tmthing = NULL;
}
}
}