diff options
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 62eded545..8143f1c90 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3570,3 +3570,11 @@ bool Being::isSellShopEnabled() const { return mShop && (!serverFeatures->haveVending() || !mSellBoard.empty()); } + +void Being::setRiding(const bool b) +{ + if (b == mRiding) + return; + mRiding = b; + setAction(mAction, 0); +} |