From c691d619c24cdca11655455c510920ab7937b319 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Mon, 14 Jan 2013 21:30:36 +0100 Subject: [PATCH] Bugfix: else repeat_rightclick_timer = 0; --- src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()) {