summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-15 12:53:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-15 13:04:21 +0300
commit8ef332195f82d30f70435b69ba485640a19d80ed (patch)
tree589dc857a56faede78119142f077c29e1963916f /src/net/eathena/vendinghandler.cpp
parent5d7a02cee16478f23488495b3d031013eacea108 (diff)
downloadplus-8ef332195f82d30f70435b69ba485640a19d80ed.tar.gz
plus-8ef332195f82d30f70435b69ba485640a19d80ed.tar.bz2
plus-8ef332195f82d30f70435b69ba485640a19d80ed.tar.xz
plus-8ef332195f82d30f70435b69ba485640a19d80ed.zip
Rename being board into sell board.
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r--src/net/eathena/vendinghandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp
index f63a35176..9f4218608 100644
--- a/src/net/eathena/vendinghandler.cpp
+++ b/src/net/eathena/vendinghandler.cpp
@@ -114,7 +114,7 @@ void VendingHandler::processShowBoard(Net::MessageIn &msg)
const std::string shopName = msg.readString(80, "shop name");
Being *const dstBeing = actorManager->findBeing(id);
if (dstBeing)
- dstBeing->setBoard(shopName);
+ dstBeing->setSellBoard(shopName);
}
void VendingHandler::processHideBoard(Net::MessageIn &msg)
@@ -122,7 +122,7 @@ void VendingHandler::processHideBoard(Net::MessageIn &msg)
const int id = msg.readInt32("owner id");
Being *const dstBeing = actorManager->findBeing(id);
if (dstBeing)
- dstBeing->setBoard(std::string());
+ dstBeing->setSellBoard(std::string());
if (dstBeing == localPlayer)
{
PlayerInfo::enableVending(false);