summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-30 07:19:36 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-30 07:19:36 -0600
commit2bf40f6f1f94cb85d95b8e9ce2942c9d4ce9bd1a (patch)
tree49fb5a1e363584800f967a4a163fb3e746228722 /src/localplayer.cpp
parentbbf4d657e77fd39887b9941af1fe75a5ec27d988 (diff)
downloadmana-2bf40f6f1f94cb85d95b8e9ce2942c9d4ce9bd1a.tar.gz
mana-2bf40f6f1f94cb85d95b8e9ce2942c9d4ce9bd1a.tar.bz2
mana-2bf40f6f1f94cb85d95b8e9ce2942c9d4ce9bd1a.tar.xz
mana-2bf40f6f1f94cb85d95b8e9ce2942c9d4ce9bd1a.zip
Merge item types to remove more #ifdefs
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 039ed91e..bf4df760 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -451,7 +451,7 @@ void LocalPlayer::useItem(Item *item)
MessageOut outMsg(CMSG_PLAYER_INVENTORY_USE);
outMsg.writeInt16(item->getInvIndex() + INVENTORY_OFFSET);
outMsg.writeInt32(item->getId());
- // Note: id is dest of item, usually player_node->account_ID ??
+ // Note: id isn't used, but the server wants it
}
#endif
@@ -461,7 +461,7 @@ void LocalPlayer::dropItem(Item *item, int quantity)
#ifdef TMWSERV_SUPPORT
Net::GameServer::Player::drop(item->getInvIndex(), quantity);
#else
- // TODO: Fix wrong coordinates of drops, serverside?
+ // TODO: Fix wrong coordinates of drops, serverside? (what's wrong here?)
MessageOut outMsg(CMSG_PLAYER_INVENTORY_DROP);
outMsg.writeInt16(item->getInvIndex() + INVENTORY_OFFSET);
outMsg.writeInt16(quantity);