summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-22 19:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-22 19:35:22 +0300
commit34bd6e0b8e0fb74cc416550a52e6406c47fefea6 (patch)
treef2e36f2ae2b721de22be4e1b18cf1dd09ba03741 /src/being/localplayer.cpp
parent1ee6d71c1d771ab8a990ef427a59f54132910ac7 (diff)
downloadmanaplus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.gz
manaplus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.bz2
manaplus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.xz
manaplus-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.zip
Add some missing consts.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 236b9cb4b..54865a6ae 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1234,7 +1234,7 @@ void LocalPlayer::moveToTarget(int dist)
bool gotPos(false);
Path debugPath;
- unsigned int limit(0);
+ size_t limit(0);
if (dist == -1)
{
@@ -1299,7 +1299,7 @@ void LocalPlayer::moveToTarget(int dist)
else
{
Position pos(0, 0);
- unsigned int f = 0;
+ size_t f = 0;
for (Path::const_iterator i = debugPath.begin(),
i_fend = debugPath.end();