summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index d09e97225..5ece2bc41 100644
--- a/src/being.h
+++ b/src/being.h
@@ -527,7 +527,7 @@ class Being : public ActorSprite, public ConfigListener
* Returns the direction the being is facing.
*/
SpriteDirection getSpriteDirection() const
- { return SpriteDirection(mSpriteDirection); }
+ { return static_cast<SpriteDirection>(mSpriteDirection); }
void setPosition(const Vector &pos);