From: PilzAdam Date: Mon, 14 Jan 2013 20:30:36 +0000 (+0100) Subject: Bugfix: else repeat_rightclick_timer = 0; X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c691d619c24cdca11655455c510920ab7937b319;p=zefram%2Fminetest%2Fminetest_engine.git Bugfix: else repeat_rightclick_timer = 0; --- diff --git a/src/game.cpp b/src/game.cpp index 488d18f7..588a0fef 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()) {