mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
This effect assumed that it was spawned at base scale anyway...
This commit is contained in:
parent
202f4a65cb
commit
e50f08a357
2 changed files with 3 additions and 2 deletions
|
|
@ -1395,6 +1395,7 @@ void K_RespawnChecker(player_t *player)
|
||||||
P_SetTarget(&mo->target, player->mo);
|
P_SetTarget(&mo->target, player->mo);
|
||||||
mo->angle = newangle+ANGLE_90;
|
mo->angle = newangle+ANGLE_90;
|
||||||
mo->momz = (8*FRACUNIT)*P_MobjFlip(player->mo);
|
mo->momz = (8*FRACUNIT)*P_MobjFlip(player->mo);
|
||||||
|
P_SetScale(mo, (mo->destscale = FRACUNIT));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11095,7 +11095,7 @@ void P_MovePlayerToSpawn(INT32 playernum, mapthing_t *mthing)
|
||||||
if (mthing->options >> ZSHIFT)
|
if (mthing->options >> ZSHIFT)
|
||||||
z -= ((mthing->options >> ZSHIFT) << FRACBITS);
|
z -= ((mthing->options >> ZSHIFT) << FRACBITS);
|
||||||
if (p->kartstuff[k_respawn])
|
if (p->kartstuff[k_respawn])
|
||||||
z -= 128*FRACUNIT;
|
z -= 128*FRACUNIT; // Too late for v1, but for later: 128*mapheaderinfo[gamemap-1]->mobj_scale;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -11103,7 +11103,7 @@ void P_MovePlayerToSpawn(INT32 playernum, mapthing_t *mthing)
|
||||||
if (mthing->options >> ZSHIFT)
|
if (mthing->options >> ZSHIFT)
|
||||||
z += ((mthing->options >> ZSHIFT) << FRACBITS);
|
z += ((mthing->options >> ZSHIFT) << FRACBITS);
|
||||||
if (p->kartstuff[k_respawn])
|
if (p->kartstuff[k_respawn])
|
||||||
z += 128*FRACUNIT;
|
z += 128*FRACUNIT; // Too late for v1, but for later: 128*mapheaderinfo[gamemap-1]->mobj_scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mthing->options & MTF_OBJECTFLIP) // flip the player!
|
if (mthing->options & MTF_OBJECTFLIP) // flip the player!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue