diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index f513c31a1..afced01b2 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -581,3 +581,9 @@ void Gui::distributeMouseEvent(gcn::Widget* source, int type, int button, } } } + +void Gui::resetClickCount() +{ + mClickCount = 1; + mLastMousePressTimeStamp = 0; +} |