diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 2e4ff851b..e7e0a2766 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -152,10 +152,10 @@ void Viewport::draw(gcn::Graphics *gcnGraphics) if (mScrollLaziness < 1) mScrollLaziness = 1; // Avoids division by zero - int cnt = 0; - if (mEnableLazyScrolling) { + int cnt = 0; + // Apply lazy scrolling while (lastTick < tick_time && cnt < 32) { |