aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 488d18f7a..588a0fef3 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2316,6 +2316,8 @@ void the_game(
if(input->getRightState())
repeat_rightclick_timer += dtime;
+ else
+ repeat_rightclick_timer = 0;
if(playeritem_usable && input->getLeftState())
{