summaryrefslogtreecommitdiff
path: root/src
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
parentab545fee3daf930dc46aaf303355c1c578320484 (diff)
downloadplus-b20fa9874a57e74673afa423de63820cb32cd21a.tar.gz
plus-b20fa9874a57e74673afa423de63820cb32cd21a.tar.bz2
plus-b20fa9874a57e74673afa423de63820cb32cd21a.tar.xz
plus-b20fa9874a57e74673afa423de63820cb32cd21a.zip
Fix code style.
Diffstat (limited to 'src')
-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;
}