From f69cfac2c28cc01b5b19266af13b30905ef511d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Mar 2016 22:50:50 +0300 Subject: Fix style error. --- src/being/being.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index c7fe60b07..0be04ac0b 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2170,10 +2170,10 @@ int Being::getOffset(const signed char pos, if (mMap) { const int time = get_elapsed_time(mActionTime); - offset = (pos == BeingDirection::LEFT - && neg == BeingDirection::RIGHT) ? - (time * mMap->getTileWidth() / mSpeed) : - (time * mMap->getTileHeight() / mSpeed); + offset = (pos == BeingDirection::LEFT && + neg == BeingDirection::RIGHT) ? + (time * mMap->getTileWidth() / mSpeed) + : (time * mMap->getTileHeight() / mSpeed); } // We calculate the offset _from_ the _target_ location -- cgit v1.2.3-70-g09d2