summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-29 21:30:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-29 21:30:57 +0300
commit478b08e4104e21d4c4e76b76534d3f177df94209 (patch)
tree9f4a45a150eac1ee96ff5695c5863a794649cbeb /src/actions/commands.cpp
parent366d596688506c70cbc510392be7f1224e585185 (diff)
downloadplus-478b08e4104e21d4c4e76b76534d3f177df94209.tar.gz
plus-478b08e4104e21d4c4e76b76534d3f177df94209.tar.bz2
plus-478b08e4104e21d4c4e76b76534d3f177df94209.tar.xz
plus-478b08e4104e21d4c4e76b76534d3f177df94209.zip
Fix code style.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 5a329f2c7..4b967c873 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -29,7 +29,6 @@
#include "being/flooritem.h"
#include "being/localplayer.h"
-#include "being/playerinfo.h"
#include "being/playerrelations.h"
#include "const/gui/chat.h"
@@ -64,12 +63,9 @@
#include "net/partyhandler.h"
#include "net/serverfeatures.h"
-#include "resources/iteminfo.h"
#include "resources/chatobject.h"
-#include "resources/inventory/inventory.h"
-
-#include "resources/item/item.h"
+#include "resources/db/itemdb.h"
#include "utils/chatutils.h"
#include "utils/gettext.h"
@@ -311,7 +307,6 @@ impHandler(chatAdd)
if (floorItem)
{
str[0] = floorItem->getItemId();
- logger->log("parts: %d", (int)str.size());
const std::string names = ItemDB::getNamesStr(str);
chatWindow->addItemText(names);
}