Skip to content

Commit

Permalink
port: don't slow down the mouse at exactly 240 fps
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Nov 15, 2023
1 parent 11e318b commit 4a16f27
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 @@ -714,7 +714,7 @@ void bmoveProcessInput(bool allowc1x, bool allowc1y, bool allowc1buttons, bool i
#ifndef PLATFORM_N64
const bool allowmlook = (g_Vars.currentplayernum == 0) && (allowc1x || allowc1y);
bool allowmcross = false;
const f32 mlookscale = g_Vars.lvupdate240 ? (4.f / (f32)g_Vars.lvupdate240) : 0.25f;
const f32 mlookscale = g_Vars.lvupdate240 ? (4.f / (f32)g_Vars.lvupdate240) : 4.f;
#endif

controlmode = optionsGetControlMode(g_Vars.currentplayerstats->mpindex);
Expand Down

0 comments on commit 4a16f27

Please sign in to comment.