diff options
author | PilzAdam <PilzAdam@gmx.de> | 2013-01-14 21:30:36 +0100 |
---|---|---|
committer | PilzAdam <PilzAdam@gmx.de> | 2013-01-14 21:38:40 +0100 |
commit | c691d619c24cdca11655455c510920ab7937b319 (patch) | |
tree | 7eb67355386e87b7e6e21208bf07d14c1def4a21 /src | |
parent | 61f5ca6b164b035de41bd32bb9409c7e04ea0d41 (diff) | |
download | minetest-c691d619c24cdca11655455c510920ab7937b319.tar.gz minetest-c691d619c24cdca11655455c510920ab7937b319.tar.bz2 minetest-c691d619c24cdca11655455c510920ab7937b319.zip |
Bugfix: else repeat_rightclick_timer = 0;
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 2 |
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()) { |