diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 22:50:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 22:50:50 +0300 |
commit | f69cfac2c28cc01b5b19266af13b30905ef511d1 (patch) | |
tree | 89269ae85da961224e189fdd337ab578b629e02a /src/being/being.cpp | |
parent | 692331fcf7c07ce75a9053ef3fcc2a7597c0d007 (diff) | |
download | manaplus-f69cfac2c28cc01b5b19266af13b30905ef511d1.tar.gz manaplus-f69cfac2c28cc01b5b19266af13b30905ef511d1.tar.bz2 manaplus-f69cfac2c28cc01b5b19266af13b30905ef511d1.tar.xz manaplus-f69cfac2c28cc01b5b19266af13b30905ef511d1.zip |
Fix style error.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 |