mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
This effect assumed that it was spawned at base scale anyway...
This commit is contained in:
parent
2d5551ca5b
commit
514cd0794b
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…
Reference in a new issue