summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.cpp
diff options
context:
space:
mode:
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;
}