summaryrefslogtreecommitdiff
path: root/src/net/eathena/buysellhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-25 23:37:28 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-25 23:37:28 +0300
commit60757643df53ff5d9d6aa361486348bc6d4bf0f2 (patch)
tree13cf871ba389238ea8c8831f897b6b1135b0ba8e /src/net/eathena/buysellhandler.cpp
parent32e6e1748c3aa26a55ce4f7281107c4334c80ef3 (diff)
downloadplus-60757643df53ff5d9d6aa361486348bc6d4bf0f2.tar.gz
plus-60757643df53ff5d9d6aa361486348bc6d4bf0f2.tar.bz2
plus-60757643df53ff5d9d6aa361486348bc6d4bf0f2.tar.xz
plus-60757643df53ff5d9d6aa361486348bc6d4bf0f2.zip
From eAthena netcode remove some evol packets implimentations.
Diffstat (limited to 'src/net/eathena/buysellhandler.cpp')
-rw-r--r--src/net/eathena/buysellhandler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/eathena/buysellhandler.cpp b/src/net/eathena/buysellhandler.cpp
index 4526f226d..bc53daeff 100644
--- a/src/net/eathena/buysellhandler.cpp
+++ b/src/net/eathena/buysellhandler.cpp
@@ -106,8 +106,6 @@ void BuySellHandler::processNpcBuy(Net::MessageIn &msg)
{
msg.readInt16(); // length
int sz = 11;
- if (serverVersion > 0)
- sz += 1;
int n_items = (msg.getLength() - 4) / sz;
mBuyDialog = new BuyDialog(mNpcId);
mBuyDialog->setMoney(PlayerInfo::getAttribute(MONEY));
@@ -119,8 +117,6 @@ void BuySellHandler::processNpcBuy(Net::MessageIn &msg)
msg.readInt8(); // type
int itemId = msg.readInt16();
unsigned char color = 1;
- if (serverVersion > 0)
- color = msg.readInt8();
mBuyDialog->addItem(itemId, color, 0, value);
}
}