diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 8076c538..b3e13a2a 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -152,11 +152,8 @@ void LocalPlayer::pickUp(FloorItem *item) int dy = item->getY() - mY / 32; if (dx * dx + dy * dy < 4) { - // XXX Convert for new server - /* - MessageOut outMsg(CMSG_ITEM_PICKUP); - outMsg.writeLong(item->getId()); - */ + int id = item->getId(); + Net::GameServer::Player::pickUp(id >> 16, id & 0xFFFF); mPickUpTarget = NULL; } else { setDestination(item->getX() * 32 + 16, item->getY() * 32 + 16); |