summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp6
-rw-r--r--src/being/being.h8
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;