summaryrefslogtreecommitdiff
path: root/src/net/manaserv/buysellhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-30 02:05:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-01 03:11:26 +0300
commita39f63cdfa5ce15b22f294a8bb1db3a036ce462d (patch)
tree4de71bde947cae0cf5d3196cd97e82f5bc537c5c /src/net/manaserv/buysellhandler.cpp
parent02ec4369acfbf261236631e20dbb76131e7889f8 (diff)
downloadmv-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.gz
mv-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.bz2
mv-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.xz
mv-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.zip
One part of fixes after auto checking.
Diffstat (limited to 'src/net/manaserv/buysellhandler.cpp')
-rw-r--r--src/net/manaserv/buysellhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/buysellhandler.cpp b/src/net/manaserv/buysellhandler.cpp
index 25db86cf0..e9be139f6 100644
--- a/src/net/manaserv/buysellhandler.cpp
+++ b/src/net/manaserv/buysellhandler.cpp
@@ -97,7 +97,7 @@ void BuySellHandler::handleMessage(Net::MessageIn &msg)
int itemId = msg.readInt16();
int amount = msg.readInt16();
int value = msg.readInt16();
- dialog->addItem(new Item(itemId, amount, 1, false), value);
+ dialog->addItem(new Item(itemId, amount, 0, 1, false), value);
}
break;
}