summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index e0c64b017..9dfbef8d4 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -177,7 +177,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
bool getHaveCart() const A_WARN_UNUSED
{ return mHaveCart; }
- void setRiding(const bool b)
+ virtual void setRiding(const bool b)
{ mRiding = b; }
protected: