summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadmanaverse-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
manaverse-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
manaverse-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
manaverse-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/guildhandler.cpp2
-rw-r--r--src/net/tmwa/inventoryhandler.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 69d5f0e41..59756e2c9 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -278,7 +278,6 @@ void GuildHandler::chat(const int guildId A_UNUSED,
void GuildHandler::memberList(const int guildId A_UNUSED) const
{
- // TODO four types of info requests:
// 0 = basic info + alliance info
// 1 = position name list + member list
// 2 = position name list + position info list
@@ -291,7 +290,6 @@ void GuildHandler::memberList(const int guildId A_UNUSED) const
void GuildHandler::info(const int guildId A_UNUSED)
{
- // TODO four types of info requests:
// 0 = basic info + alliance info
// 1 = position name list + member list
// 2 = position name list + position info list
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));