mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-28 09:50:42 +00:00
Fix teleport triggers not updating player angle
This commit is contained in:
parent
28d7f0de58
commit
cd53e4c966
1 changed files with 1 additions and 0 deletions
|
@ -1466,6 +1466,7 @@ void OperateTeleport(unsigned int nSector, XSECTOR *pXSector)
|
||||||
{
|
{
|
||||||
playerResetInertia(pPlayer);
|
playerResetInertia(pPlayer);
|
||||||
pPlayer->zViewVel = pPlayer->zWeaponVel = 0;
|
pPlayer->zViewVel = pPlayer->zWeaponVel = 0;
|
||||||
|
pPlayer->angle.settarget(pSprite->ang, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue