summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-25 20:17:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-25 20:17:57 +0300
commit30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d (patch)
treeaa1b867bf12df5e61e780d83d5c5ab8a56956edc /src/net/eathena
parentd43d59612ae6cc56a7ec59f83d344a369ff924ee (diff)
downloadmv-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.tar.gz
mv-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.tar.bz2
mv-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.tar.xz
mv-30f64ba7f1f7a1d76f2dbddc05fe1d123de9c86d.zip
Fix code style.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
-rw-r--r--src/net/eathena/protocolout.h2
-rw-r--r--src/net/eathena/updateprotocol.cpp2
-rw-r--r--src/net/eathena/updateprotocol.h2
4 files changed, 3 insertions, 5 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index b832c167e..1b781c3be 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -129,7 +129,7 @@ void InventoryHandler::moveItem2(const int source,
const int amount,
const int destination) const
{
- int16_t packet = 0;
+ int packet = 0;
int offset = INVENTORY_OFFSET;
if (source == InventoryType::INVENTORY)
{
diff --git a/src/net/eathena/protocolout.h b/src/net/eathena/protocolout.h
index 571edfccf..502beede5 100644
--- a/src/net/eathena/protocolout.h
+++ b/src/net/eathena/protocolout.h
@@ -26,7 +26,7 @@
namespace EAthena
{
#include "net/eathena/packetsout.inc"
-} // namespace Eathena
+} // namespace EAthena
#undef packet
#undef packet2
diff --git a/src/net/eathena/updateprotocol.cpp b/src/net/eathena/updateprotocol.cpp
index 1d704adfe..34b8713c5 100644
--- a/src/net/eathena/updateprotocol.cpp
+++ b/src/net/eathena/updateprotocol.cpp
@@ -20,8 +20,6 @@
#include "net/eathena/updateprotocol.h"
-#include "logger.h"
-
#include "net/eathena/network.h"
#include "net/eathena/protocolout.h"
diff --git a/src/net/eathena/updateprotocol.h b/src/net/eathena/updateprotocol.h
index e2d4e585f..d60af6985 100644
--- a/src/net/eathena/updateprotocol.h
+++ b/src/net/eathena/updateprotocol.h
@@ -24,6 +24,6 @@
namespace EAthena
{
void updateProtocol();
-} // namespace Eathena
+} // namespace EAthena
#endif // NET_EATHENA_UPDATEPROTOCOL_H