From 8ef332195f82d30f70435b69ba485640a19d80ed Mon Sep 17 00:00:00 2001 From: Andrei Karas <akaras@inbox.ru> Date: Sun, 15 Feb 2015 12:53:10 +0300 Subject: Rename being board into sell board. --- src/being/being.cpp | 6 +++--- src/being/being.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 004e728c6..60b87914c 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -175,7 +175,7 @@ Being::Being(const int id, mSpriteHide(new int[20]), mSpriteDraw(new int[20]), mComment(), - mBoard(), + mSellBoard(), mPets(), mOwner(nullptr), mSpecialParticle(nullptr), @@ -3531,10 +3531,10 @@ void Being::setChat(ChatObject *const obj) mChat = obj; } -void Being::setBoard(const std::string &text) +void Being::setSellBoard(const std::string &text) { mShop = !text.empty(); - mBoard = text; + mSellBoard = text; updateName(); } diff --git a/src/being/being.h b/src/being/being.h index 043124c58..e0fd0f044 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -913,10 +913,10 @@ class Being notfinal : public ActorSprite, void setAreaSize(const int areaSize) { mAreaSize = areaSize; } - void setBoard(const std::string &text); + void setSellBoard(const std::string &text); - std::string getBoard() const A_WARN_UNUSED - { return mBoard; } + std::string getSellBoard() const A_WARN_UNUSED + { return mSellBoard; } protected: /** @@ -1033,7 +1033,7 @@ class Being notfinal : public ActorSprite, int *mSpriteHide; int *mSpriteDraw; std::string mComment; - std::string mBoard; + std::string mSellBoard; std::vector<Being*> mPets; Being *mOwner; Particle *mSpecialParticle; -- cgit v1.2.3-70-g09d2