summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-01 16:29:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-02 00:13:44 +0300
commit2464d9d85019711583ef830c2fdeae8a6772cb53 (patch)
treefd007695db4d5c4a06376c27421a3c5a61e129a3 /src/being/being.cpp
parentb6a0e05498b2b1a64d9b407fb2416dbaa0faf407 (diff)
downloadmv-2464d9d85019711583ef830c2fdeae8a6772cb53.tar.gz
mv-2464d9d85019711583ef830c2fdeae8a6772cb53.tar.bz2
mv-2464d9d85019711583ef830c2fdeae8a6772cb53.tar.xz
mv-2464d9d85019711583ef830c2fdeae8a6772cb53.zip
Show shop name on players.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index c1ccf3c90..06012f708 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -175,6 +175,7 @@ Being::Being(const int id,
mSpriteHide(new int[20]),
mSpriteDraw(new int[20]),
mComment(),
+ mBoard(),
mPets(),
mOwner(nullptr),
mSpecialParticle(nullptr),
@@ -3526,3 +3527,8 @@ void Being::setChat(ChatObject *const obj)
delete mChat;
mChat = obj;
}
+
+void Being::setBoard(const std::string &text)
+{
+ mBoard = text;
+}