From 8daa939a45794c26a33e109c13c4d6f58a46e00e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:47:02 +0300 Subject: Fix code style in being --- src/being/localplayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/localplayer.cpp') 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(dist)) + if (sz < static_cast(dist)) return; limit = static_cast(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); -- cgit v1.2.3-70-g09d2