summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-05 01:50:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-05 01:50:09 +0300
commitb20fa9874a57e74673afa423de63820cb32cd21a (patch)
treec5a3f3666cb1ffc0439f69a10f75d27ef5b8e01b /src/actorspritemanager.cpp
parentab545fee3daf930dc46aaf303355c1c578320484 (diff)
downloadmv-b20fa9874a57e74673afa423de63820cb32cd21a.tar.gz
mv-b20fa9874a57e74673afa423de63820cb32cd21a.tar.bz2
mv-b20fa9874a57e74673afa423de63820cb32cd21a.tar.xz
mv-b20fa9874a57e74673afa423de63820cb32cd21a.zip
Fix code style.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r--src/actorspritemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp
index ba303e800..cc18cfbee 100644
--- a/src/actorspritemanager.cpp
+++ b/src/actorspritemanager.cpp
@@ -126,8 +126,8 @@ class SortBeingFunctor
return false;
}
else if (specialDistance && being2->getDistance() <= 2
- && being1->getDistance() <= attackRange
- && being1->getDistance() > 2)
+ && being1->getDistance() <= attackRange
+ && being1->getDistance() > 2)
{
return true;
}