mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed GetSpectateFollowOrientation using forward rather than right
This commit is contained in:
parent
51b5b2571a
commit
010794418c
1 changed files with 1 additions and 1 deletions
|
@ -8925,7 +8925,7 @@ void Player::GetSpectateFollowOrientation(Player *pPlayer, Vector& vPos, Vector&
|
|||
vCamOfs += up * g_spectatefollow_up->value;
|
||||
|
||||
if (pPlayer->client->ps.fLeanAngle != 0.0f) {
|
||||
vCamOfs += client->ps.fLeanAngle * 0.65f * forward;
|
||||
vCamOfs += client->ps.fLeanAngle * 0.65f * right;
|
||||
}
|
||||
|
||||
start = pPlayer->origin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue