mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Stupid P_MapStart crash because of flicky teleport before map load
This commit is contained in:
parent
1aef75bff3
commit
c609dffdab
1 changed files with 2 additions and 0 deletions
|
|
@ -12169,11 +12169,13 @@ void A_FlickyCenter(mobj_t *actor)
|
||||||
{
|
{
|
||||||
actor->extravalue2 = 1;
|
actor->extravalue2 = 1;
|
||||||
P_TeleportMove(actor, actor->target->x, actor->target->y, actor->target->z);
|
P_TeleportMove(actor, actor->target->x, actor->target->y, actor->target->z);
|
||||||
|
tmthing = NULL;
|
||||||
}
|
}
|
||||||
else if(actor->extravalue2)
|
else if(actor->extravalue2)
|
||||||
{
|
{
|
||||||
actor->extravalue2 = 0;
|
actor->extravalue2 = 0;
|
||||||
P_TeleportMove(actor, originx, originy, originz);
|
P_TeleportMove(actor, originx, originy, originz);
|
||||||
|
tmthing = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue