diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-26 18:55:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-26 18:55:44 +0300 |
commit | 8c3d197dbdfc00969f30309ee7bf52656b33ed1b (patch) | |
tree | 1ae60266bcd76a6399921ad9a0d5a9f6af9ae1de /src/gui | |
parent | b29f6896196376a6b3c2abf60de766811264af75 (diff) | |
download | mv-8c3d197dbdfc00969f30309ee7bf52656b33ed1b.tar.gz mv-8c3d197dbdfc00969f30309ee7bf52656b33ed1b.tar.bz2 mv-8c3d197dbdfc00969f30309ee7bf52656b33ed1b.tar.xz mv-8c3d197dbdfc00969f30309ee7bf52656b33ed1b.zip |
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/viewport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index ca301d8e8..e70165648 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -688,7 +688,8 @@ void Viewport::walkByMouse(const MouseEvent &event) if (!mMap->getWalk(destX, f)) continue; - const int offset = mMap->getHeightOffset(destX, f) * 16; + const int offset = mMap->getHeightOffset( + destX, f) * 16; const int pixelF = f * 32; const int diff = abs(clickY + offset - pixelF); if (diff < newDiffY) |