aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPilzAdam <PilzAdam@gmx.de>2013-01-14 21:30:36 +0100
committerPilzAdam <PilzAdam@gmx.de>2013-01-14 21:38:40 +0100
commitc691d619c24cdca11655455c510920ab7937b319 (patch)
tree7eb67355386e87b7e6e21208bf07d14c1def4a21 /src/game.cpp
parent61f5ca6b164b035de41bd32bb9409c7e04ea0d41 (diff)
downloadminetest-c691d619c24cdca11655455c510920ab7937b319.tar.gz
minetest-c691d619c24cdca11655455c510920ab7937b319.tar.bz2
minetest-c691d619c24cdca11655455c510920ab7937b319.zip
Bugfix: else repeat_rightclick_timer = 0;
Diffstat (limited to 'src/game.cpp')
-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())
{