summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-15 15:08:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-15 15:18:20 +0300
commit77a52b24c88dd113a74ff55cecb63a7214193fdf (patch)
tree218897c6979c994f9fb5d50ec976dc90075b8576 /src/being/being.h
parente59fc67ba665be08a9d9a3fa27139d31168d324a (diff)
downloadmv-77a52b24c88dd113a74ff55cecb63a7214193fdf.tar.gz
mv-77a52b24c88dd113a74ff55cecb63a7214193fdf.tar.bz2
mv-77a52b24c88dd113a74ff55cecb63a7214193fdf.tar.xz
mv-77a52b24c88dd113a74ff55cecb63a7214193fdf.zip
Show buy or sell in player context menu based on enabled shop types.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index a6b588919..12b197a23 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -761,8 +761,9 @@ class Being notfinal : public ActorSprite,
void setAdvanced(const bool n)
{ mAdvanced = n; addToCache(); }
- bool isShopEnabled() const A_WARN_UNUSED
- { return mShop; }
+ bool isBuyShopEnabled() const A_WARN_UNUSED;
+
+ bool isSellShopEnabled() const A_WARN_UNUSED;
void enableShop(const bool b);