Skip to content

Commit

Permalink
port: fix #169
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Sep 15, 2023
1 parent 3ee473d commit 6686221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/bondmove.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ void bmoveProcessInput(bool allowc1x, bool allowc1y, bool allowc1buttons, bool i
movedata.cannaturalturn = !g_Vars.currentplayer->insightaimmode;

#ifndef PLATFORM_N64
if (g_PlayerMouseAimMode == MOUSEAIM_LOCKED) {
if (g_PlayerMouseAimMode == MOUSEAIM_LOCKED || bgunGetWeaponNum(HAND_RIGHT) == WEAPON_HORIZONSCANNER) {
movedata.cannaturalpitch = movedata.cannaturalpitch || (movedata.freelookdy != 0.0f);
movedata.cannaturalturn = movedata.cannaturalturn || (movedata.freelookdx != 0.0f);
}
Expand Down

0 comments on commit 6686221

Please sign in to comment.