diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 18:28:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 21:06:51 +0300 |
commit | a306ecf96736779b08d1de7ec994d3d741d5dc61 (patch) | |
tree | 5a64809354d2c5f672a34fc9578975ab76920b5b /src/gui/viewport.cpp | |
parent | 6053e0797465a15da30b8d645c8ac7c95b596c69 (diff) | |
download | manaplus-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.gz manaplus-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.bz2 manaplus-a306ecf96736779b08d1de7ec994d3d741d5dc61.tar.xz manaplus-a306ecf96736779b08d1de7ec994d3d741d5dc61.zip |
fix code style.
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) { |