diff options
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r-- | src/being/actorsprite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h index 93fddedce..d5cb16613 100644 --- a/src/being/actorsprite.h +++ b/src/being/actorsprite.h @@ -177,7 +177,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor { return mHaveCart; } virtual void setRiding(const bool b) - { mRiding = b; } + { mHorseId = b ? 1 : 0; } protected: /** @@ -226,6 +226,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor ParticleList mStunParticleEffects; ParticleVector mStatusParticleEffects; ParticleList mChildParticleEffects; + int mHorseId; BeingId mId; uint16_t mStunMode; /**< Stun mode; zero if not stunned */ @@ -243,7 +244,6 @@ class ActorSprite notfinal : public CompoundSprite, public Actor bool mMustResetParticles; bool mPoison; bool mHaveCart; - bool mRiding; }; #endif // BEING_ACTORSPRITE_H |