summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-23 12:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-23 12:45:57 +0300
commit6576d46a7f420edfc53226811a3158d6e509a7bc (patch)
treeffd0e61bd56bb11f76cd27cdfbaaa6b10b9ec14d /src/being/localplayer.cpp
parent833ee2d763001667f5818a1922f5e96d60890cd9 (diff)
downloadmv-6576d46a7f420edfc53226811a3158d6e509a7bc.tar.gz
mv-6576d46a7f420edfc53226811a3158d6e509a7bc.tar.bz2
mv-6576d46a7f420edfc53226811a3158d6e509a7bc.tar.xz
mv-6576d46a7f420edfc53226811a3158d6e509a7bc.zip
Fix compilation warnings and fix issue introduced in last commits.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 07447601e..c3937badc 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2160,7 +2160,7 @@ void LocalPlayer::specialMove(const unsigned char direction)
if (mAction == BeingAction::MOVE)
return;
- int max;
+ unsigned int max;
if (settings.moveType == 2)
max = 5;