diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-26 20:20:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-26 20:20:01 +0300 |
commit | b782c12e55c65b6ca9b7384d63fb833a4c53c0bf (patch) | |
tree | 0ca1785a4e672931f80a4f5bc628160017f2d4b6 /src/actorspritemanager.cpp | |
parent | 2ca54be098398e50bb9aa482f78d1f302e372fd5 (diff) | |
download | manaverse-b782c12e55c65b6ca9b7384d63fb833a4c53c0bf.tar.gz manaverse-b782c12e55c65b6ca9b7384d63fb833a4c53c0bf.tar.bz2 manaverse-b782c12e55c65b6ca9b7384d63fb833a4c53c0bf.tar.xz manaverse-b782c12e55c65b6ca9b7384d63fb833a4c53c0bf.zip |
Fix code style.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r-- | src/actorspritemanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |