This effect assumed that it was spawned at base scale anyway...

This commit is contained in:
TehRealSalt 2018-11-14 14:48:16 -05:00
parent 2d5551ca5b
commit 514cd0794b
2 changed files with 3 additions and 2 deletions

View file

@ -1395,6 +1395,7 @@ void K_RespawnChecker(player_t *player)
P_SetTarget(&mo->target, player->mo);
mo->angle = newangle+ANGLE_90;
mo->momz = (8*FRACUNIT)*P_MobjFlip(player->mo);
P_SetScale(mo, (mo->destscale = FRACUNIT));
}
}
}

View file

@ -11095,7 +11095,7 @@ void P_MovePlayerToSpawn(INT32 playernum, mapthing_t *mthing)
if (mthing->options >> ZSHIFT)
z -= ((mthing->options >> ZSHIFT) << FRACBITS);
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
{
@ -11103,7 +11103,7 @@ void P_MovePlayerToSpawn(INT32 playernum, mapthing_t *mthing)
if (mthing->options >> ZSHIFT)
z += ((mthing->options >> ZSHIFT) << FRACBITS);
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!