Skip to content

Commit

Permalink
Bugfix: else repeat_rightclick_timer = 0;
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed Jan 14, 2013
1 parent 61f5ca6 commit c691d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 +2316,8 @@ void the_game(

if(input->getRightState())
repeat_rightclick_timer += dtime;
else
repeat_rightclick_timer = 0;

if(playeritem_usable && input->getLeftState())
{
Expand Down

0 comments on commit c691d61

Please sign in to comment.