diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-15 12:53:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-15 13:04:21 +0300 |
commit | 8ef332195f82d30f70435b69ba485640a19d80ed (patch) | |
tree | 589dc857a56faede78119142f077c29e1963916f /src/being | |
parent | 5d7a02cee16478f23488495b3d031013eacea108 (diff) | |
download | mv-8ef332195f82d30f70435b69ba485640a19d80ed.tar.gz mv-8ef332195f82d30f70435b69ba485640a19d80ed.tar.bz2 mv-8ef332195f82d30f70435b69ba485640a19d80ed.tar.xz mv-8ef332195f82d30f70435b69ba485640a19d80ed.zip |
Rename being board into sell board.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 6 | ||||
-rw-r--r-- | src/being/being.h | 8 |
2 files changed, 7 insertions, 7 deletions
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; |