summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-08 11:00:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-08 11:00:57 +0300
commit41b1958bffdec520c30c476fc8c6371873b940d3 (patch)
tree2bb2d34c7ca90c7cc9b2b31e69d70138fbb28e4e /src/net/eathena
parentc6dbf10ed70e6f94d28ad555545b7522ea7348b8 (diff)
downloadmanaverse-41b1958bffdec520c30c476fc8c6371873b940d3.tar.gz
manaverse-41b1958bffdec520c30c476fc8c6371873b940d3.tar.bz2
manaverse-41b1958bffdec520c30c476fc8c6371873b940d3.tar.xz
manaverse-41b1958bffdec520c30c476fc8c6371873b940d3.zip
Fix code style.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
-rw-r--r--src/net/eathena/inventoryhandler.cpp1
-rw-r--r--src/net/eathena/network.cpp2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 4d90e4505..a4908413d 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -204,7 +204,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg,
msg.readInt16("speed");
tempPlayer->setSubtype(msg.readInt16("class"), 0);
const int hairStyle = msg.readInt16("hair style");
- const uint16_t weapon = msg.readInt32("weapon");
+ const int weapon = msg.readInt32("weapon");
tempPlayer->setSprite(SPRITE_WEAPON, weapon, "", 1, true);
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 14fa4df3b..b55aea477 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -25,7 +25,6 @@
#include "notifymanager.h"
#include "being/localplayer.h"
-#include "being/pickup.h"
#include "listeners/arrowslistener.h"
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index f0f727462..d47166d78 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -145,7 +145,7 @@ bool Network::messageReady()
len = 10;
}
else if (msgId >= 0 && static_cast<unsigned int>(msgId)
- < packet_lengths_size)
+ < packet_lengths_size)
{
len = packet_lengths[msgId];
}