From 6dc1f5e0b68cf390f7938329b50a9b28bd187862 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 1 Feb 2015 23:48:15 +0300 Subject: Set correct vending status to local player. Allow buy from vending shop. --- src/being/being.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index 170ad3f15..004e728c6 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3537,3 +3537,9 @@ void Being::setBoard(const std::string &text) mBoard = text; updateName(); } + +void Being::enableShop(const bool b) +{ + mShop = b; + updateName(); +} -- cgit v1.2.3-70-g09d2