summaryrefslogtreecommitdiff
path: root/src/net/manaserv/buysellhandler.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/buysellhandler.cpp
parentbb73cadd0afdc9fa55ea66ecedd8be53a6f3198e (diff)
downloadmanaverse-9437d4943a8b299b057020ee114b230399965abd.tar.gz
manaverse-9437d4943a8b299b057020ee114b230399965abd.tar.bz2
manaverse-9437d4943a8b299b057020ee114b230399965abd.tar.xz
manaverse-9437d4943a8b299b057020ee114b230399965abd.zip
Add colors to buy/sell dialogs.
Diffstat (limited to 'src/net/manaserv/buysellhandler.cpp')
-rw-r--r--src/net/manaserv/buysellhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/manaserv/buysellhandler.cpp b/src/net/manaserv/buysellhandler.cpp
index 07737e20b..a519125de 100644
--- a/src/net/manaserv/buysellhandler.cpp
+++ b/src/net/manaserv/buysellhandler.cpp
@@ -79,7 +79,8 @@ void BuySellHandler::handleMessage(Net::MessageIn &msg)
int itemId = msg.readInt16();
int amount = msg.readInt16();
int value = msg.readInt16();
- dialog->addItem(itemId, amount, value);
+ // colors not supported, using 1.
+ dialog->addItem(itemId, 1, amount, value);
}
break;
}