summaryrefslogtreecommitdiff
path: root/src/net/manaserv/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-03 23:13:07 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-03 23:13:07 +0200
commit9437d4943a8b299b057020ee114b230399965abd (patch)
tree54e8d1bca3c2f5457db8402fcdfe1b9e04df54f7 /src/net/manaserv/npchandler.cpp
parentbb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (diff)
downloadmv-9437d4943a8b299b057020ee114b230399965abd.tar.gz
mv-9437d4943a8b299b057020ee114b230399965abd.tar.bz2
mv-9437d4943a8b299b057020ee114b230399965abd.tar.xz
mv-9437d4943a8b299b057020ee114b230399965abd.zip
Add colors to buy/sell dialogs.
Diffstat (limited to 'src/net/manaserv/npchandler.cpp')
-rw-r--r--src/net/manaserv/npchandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/manaserv/npchandler.cpp b/src/net/manaserv/npchandler.cpp
index 3117f9455..2c389bc7d 100644
--- a/src/net/manaserv/npchandler.cpp
+++ b/src/net/manaserv/npchandler.cpp
@@ -209,7 +209,8 @@ void NpcHandler::sell(int beingId _UNUSED_)
// TODO
}
-void NpcHandler::buyItem(int beingId _UNUSED_, int itemId, int amount)
+void NpcHandler::buyItem(int beingId _UNUSED_, int itemId,
+ unsigned char color _UNUSED_, int amount)
{
MessageOut msg(PGMSG_NPC_BUYSELL);
msg.writeInt16(itemId);