summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 0e0fd720..625b0eef 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -300,14 +300,14 @@ Being::getSpriteDirection() const
{
dir = DIRECTION_UP;
}
- else if (mDirection & RIGHT)
- {
- dir = DIRECTION_RIGHT;
- }
else if (mDirection & DOWN)
{
dir = DIRECTION_DOWN;
}
+ else if (mDirection & RIGHT)
+ {
+ dir = DIRECTION_RIGHT;
+ }
else {
dir = DIRECTION_LEFT;
}