summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:02 +0300
commit8daa939a45794c26a33e109c13c4d6f58a46e00e (patch)
treefa0c2f40eec569816cfa2565f1070ddd90f57bf3 /src/being/localplayer.cpp
parent6d4da51f0fdcecc2d4398f60dbca43f499fdbe16 (diff)
downloadmv-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.gz
mv-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.bz2
mv-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.xz
mv-8daa939a45794c26a33e109c13c4d6f58a46e00e.zip
Fix code style in being
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index f8efd716e..7a364072c 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -948,7 +948,7 @@ void LocalPlayer::handleStatusEffect(const StatusEffect *const effect,
if (!sprite)
{
// delete sprite, if necessary
- for (unsigned int i = 0; i < mStatusEffectIcons.size(); )
+ for (size_t i = 0; i < mStatusEffectIcons.size(); )
{
if (mStatusEffectIcons[i] == effectId)
{
@@ -1168,7 +1168,7 @@ void LocalPlayer::moveToTarget(int dist)
}
const size_t sz = debugPath.size();
- if (sz < static_cast<unsigned int>(dist))
+ if (sz < static_cast<size_t>(dist))
return;
limit = static_cast<int>(sz) - dist;
gotPos = true;
@@ -3766,7 +3766,7 @@ void LocalPlayer::setTestParticle(const std::string &fileName,
}
if (!fileName.empty())
{
- mTestParticle = particleEngine->addEffect(fileName, 0, 0, false);
+ mTestParticle = particleEngine->addEffect(fileName, 0, 0, 0);
controlParticle(mTestParticle);
if (updateHash)
mTestParticleHash = UpdaterWindow::getFileHash(mTestParticleName);