summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 42fb2d4e..495a81e0 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -814,10 +814,10 @@ int Being::getOffset(char pos, char neg) const
if (mMap)
{
offset = (pos == LEFT && neg == RIGHT) ?
- (int)((get_elapsed_time(mWalkTime)
- * mMap->getTileWidth()) / mWalkSpeed.x) :
- (int)((get_elapsed_time(mWalkTime)
- * mMap->getTileHeight()) / mWalkSpeed.y);
+ (int)((get_elapsed_time(mWalkTime)
+ * mMap->getTileWidth()) / mWalkSpeed.x) :
+ (int)((get_elapsed_time(mWalkTime)
+ * mMap->getTileHeight()) / mWalkSpeed.y);
}
// We calculate the offset _from_ the _target_ location