From b782c12e55c65b6ca9b7384d63fb833a4c53c0bf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Sep 2011 20:20:01 +0300 Subject: Fix code style. --- src/actorspritemanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actorspritemanager.cpp') diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 18ef869c1..827d46f29 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -348,9 +348,9 @@ Being *ActorSpriteManager::findBeingByPixel(int x, int y, return being; } else if (!noBeing && (being->getPixelX() - 32 <= x) && - (being->getPixelX() + 32 > x) && - (being->getPixelY() - 64 <= y) && - (being->getPixelY() + 16 > y)) + (being->getPixelX() + 32 > x) && + (being->getPixelY() - 64 <= y) && + (being->getPixelY() + 16 > y)) { if (tempBeing) noBeing = true; -- cgit v1.2.3-70-g09d2