mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
UC_PRISONEGGCD: Don't use K_FlipFromObject, this was heinously incorrect
This commit is contained in:
parent
3836cfddcb
commit
b91823540b
1 changed files with 5 additions and 2 deletions
|
|
@ -1042,12 +1042,15 @@ static void P_AddBrokenPrison(mobj_t *target, mobj_t *source)
|
||||||
{
|
{
|
||||||
secretpickup->hitlag = target->hitlag;
|
secretpickup->hitlag = target->hitlag;
|
||||||
|
|
||||||
|
secretpickup->z -= secretpickup->height/2;
|
||||||
|
|
||||||
P_SetScale(secretpickup, mapobjectscale/TICRATE);
|
P_SetScale(secretpickup, mapobjectscale/TICRATE);
|
||||||
// secretpickup->destscale = mapobjectscale; -- safe assumption it's already set?
|
// secretpickup->destscale = mapobjectscale; -- safe assumption it's already set?
|
||||||
secretpickup->scalespeed = (2*mapobjectscale)/(3*TICRATE);
|
secretpickup->scalespeed = (2*mapobjectscale)/(3*TICRATE);
|
||||||
|
|
||||||
// NOT from the target - just in case it's just been placed on the ceiling as a gimmick
|
// flags are NOT from the target - just in case it's just been placed on the ceiling as a gimmick
|
||||||
K_FlipFromObject(secretpickup, source);
|
secretpickup->flags2 |= (source->flags2 & MF2_OBJECTFLIP);
|
||||||
|
secretpickup->eflags |= (source->eflags & MFE_VERTICALFLIP);
|
||||||
|
|
||||||
// Okay these have to use M_Random because replays...
|
// Okay these have to use M_Random because replays...
|
||||||
// The spawning of these won't be recorded back!
|
// The spawning of these won't be recorded back!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue