Fix teleport triggers not updating player angle

This commit is contained in:
carnivoroussociety 2021-08-21 12:43:24 +10:00
parent 28d7f0de58
commit cd53e4c966

View file

@ -1466,6 +1466,7 @@ void OperateTeleport(unsigned int nSector, XSECTOR *pXSector)
{
playerResetInertia(pPlayer);
pPlayer->zViewVel = pPlayer->zWeaponVel = 0;
pPlayer->angle.settarget(pSprite->ang, true);
}
}
}