Bugfix: else repeat_rightclick_timer = 0;
authorPilzAdam <PilzAdam@gmx.de>
Mon, 14 Jan 2013 20:30:36 +0000 (21:30 +0100)
committerPilzAdam <PilzAdam@gmx.de>
Mon, 14 Jan 2013 20:38:40 +0000 (21:38 +0100)
src/game.cpp

index 488d18f7a7221d3b4d395d436af62b0ff3879b58..588a0fef34cd1dbc43094b754d4b0a8807914dcc 100644 (file)
@@ -2316,6 +2316,8 @@ void the_game(
 
                if(input->getRightState())
                        repeat_rightclick_timer += dtime;
+               else
+                       repeat_rightclick_timer = 0;
 
                if(playeritem_usable && input->getLeftState())
                {