diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-03 23:13:07 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-03 23:13:07 +0200 |
commit | 9437d4943a8b299b057020ee114b230399965abd (patch) | |
tree | 54e8d1bca3c2f5457db8402fcdfe1b9e04df54f7 /src/net/manaserv/npchandler.cpp | |
parent | bb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (diff) | |
download | plus-9437d4943a8b299b057020ee114b230399965abd.tar.gz plus-9437d4943a8b299b057020ee114b230399965abd.tar.bz2 plus-9437d4943a8b299b057020ee114b230399965abd.tar.xz plus-9437d4943a8b299b057020ee114b230399965abd.zip |
Add colors to buy/sell dialogs.
Diffstat (limited to 'src/net/manaserv/npchandler.cpp')
-rw-r--r-- | src/net/manaserv/npchandler.cpp | 3 |
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); |