diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-18 02:06:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-18 02:06:44 +0300 |
commit | 2257406db0fd374e929def04525671c2826306c2 (patch) | |
tree | 0df3ef6435664fc962b772302e716adf01855825 /src/localplayer.cpp | |
parent | 4cd44430deb5a7efc030839a133fe8510327fc24 (diff) | |
download | plus-2257406db0fd374e929def04525671c2826306c2.tar.gz plus-2257406db0fd374e929def04525671c2826306c2.tar.bz2 plus-2257406db0fd374e929def04525671c2826306c2.tar.xz plus-2257406db0fd374e929def04525671c2826306c2.zip |
Fix code style.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 0576c8ddb..4675f80cf 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -3168,15 +3168,11 @@ void LocalPlayer::specialMove(unsigned char direction) && getInvertDirection() <= 4) && !mIsServerBuggy) { - int max; - if (getInvertDirection() == 2) - max = 10; - else - max = 30; - if (mAction == MOVE) return; + int max; + if (getInvertDirection() == 2) max = 5; else if (getInvertDirection() == 4) |