summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 69f873a2..bac66d48 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -436,10 +436,10 @@ void Being::setDirection(Uint8 direction)
SpriteDirection dir;
if (mFaceDirection & UP)
dir = DIRECTION_UP;
- else if (mFaceDirection & RIGHT)
- dir = DIRECTION_RIGHT;
else if (mFaceDirection & DOWN)
dir = DIRECTION_DOWN;
+ else if (mFaceDirection & RIGHT)
+ dir = DIRECTION_RIGHT;
else
dir = DIRECTION_LEFT;
mSpriteDirection = dir;