summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
commit853757df15383c2e9cc33023dc04a256c458e671 (patch)
treef12cf49d6ddc17b6b4fc96d066359872b108f144 /src/net/tmwa/inventoryhandler.cpp
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadplus-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
plus-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
plus-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
plus-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 561f3ec90..d1cfc7136 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -174,7 +174,6 @@ void InventoryHandler::dropItem(const Item *const item, const int amount) const
if (!item)
return;
- // TODO: Fix wrong coordinates of drops, serverside? (what's wrong here?)
MessageOut outMsg(CMSG_PLAYER_INVENTORY_DROP);
outMsg.writeInt16(static_cast<int16_t>(
item->getInvIndex() + INVENTORY_OFFSET));