summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-23 15:41:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-23 15:41:41 +0300
commit2b81fecc1c7c239e4b35312f46952e9b16029b67 (patch)
treef9dc10a41451e99a76bcfce32509fa48ac851eac /src/net/eathena/playerhandler.cpp
parentba0b0d3891e0ac88cb6313155a456efd0f7c326f (diff)
downloadManaVerse-2b81fecc1c7c239e4b35312f46952e9b16029b67.tar.gz
ManaVerse-2b81fecc1c7c239e4b35312f46952e9b16029b67.tar.bz2
ManaVerse-2b81fecc1c7c239e4b35312f46952e9b16029b67.tar.xz
ManaVerse-2b81fecc1c7c239e4b35312f46952e9b16029b67.zip
Fix packets CMSG_PLAYER_INVENTORY_DROP and CMSG_ITEM_PICKUP.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index e8045a16a..b21e9d64d 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -138,7 +138,7 @@ void PlayerHandler::pickUp(const FloorItem *const floorItem) const
outMsg.writeInt8(0, "unused");
outMsg.writeBeingId(id, "object id");
}
- if (packetVersion >= 20050628)
+ else if (packetVersion >= 20050628)
{
outMsg.writeInt32(0, "unused");
outMsg.writeInt8(0, "unused");