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/net/eathena/vendinghandler.cpp | |
parent | 5d7a02cee16478f23488495b3d031013eacea108 (diff) | |
download | plus-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.cpp | 4 |
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); |