Bugfix: else repeat_rightclick_timer = 0;

This commit is contained in:
PilzAdam 2013-01-14 21:30:36 +01:00
parent 61f5ca6b16
commit c691d619c2

@ -2316,6 +2316,8 @@ void the_game(
if(input->getRightState()) if(input->getRightState())
repeat_rightclick_timer += dtime; repeat_rightclick_timer += dtime;
else
repeat_rightclick_timer = 0;
if(playeritem_usable && input->getLeftState()) if(playeritem_usable && input->getLeftState())
{ {