Skip to content

Commit

Permalink
port: untie radial menu open delay from framerate
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Nov 26, 2023
1 parent 626b593 commit c6a3663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/bondmove.c
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ void bmoveProcessInput(bool allowc1x, bool allowc1y, bool allowc1buttons, bool i
amOpen();
g_Vars.currentplayer->invdowntime = -1;
} else {
g_Vars.currentplayer->invdowntime++;
g_Vars.currentplayer->invdowntime += g_Vars.lvupdate60;
}
}
}
Expand Down Expand Up @@ -1467,7 +1467,7 @@ void bmoveProcessInput(bool allowc1x, bool allowc1y, bool allowc1buttons, bool i
amOpen();
g_Vars.currentplayer->invdowntime = -1;
} else {
g_Vars.currentplayer->invdowntime++;
g_Vars.currentplayer->invdowntime += g_Vars.lvupdate60;
}
}
}
Expand Down

0 comments on commit c6a3663

Please sign in to comment.