summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-05 20:30:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-05 20:30:24 +0300
commitbd05fef587d0cbb821b6284567a81524cb0b15d3 (patch)
tree962ee03e6286952537f707f360ff19730e281374 /src/net/tmwa
parent3b9c2fa508f6020e2456ea3d2e865549392a593a (diff)
downloadmanaverse-bd05fef587d0cbb821b6284567a81524cb0b15d3.tar.gz
manaverse-bd05fef587d0cbb821b6284567a81524cb0b15d3.tar.bz2
manaverse-bd05fef587d0cbb821b6284567a81524cb0b15d3.tar.xz
manaverse-bd05fef587d0cbb821b6284567a81524cb0b15d3.zip
fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beinghandler.cpp9
-rw-r--r--src/net/tmwa/playerhandler.cpp11
2 files changed, 9 insertions, 11 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index a74e8bee7..7f11598c5 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -529,7 +529,8 @@ void BeingHandler::processPlayerUpdate1(Net::MessageIn &msg)
dstBeing->updateSprite(SPRITE_WEAPON, headBottom,
"", colors[0]);
dstBeing->updateSprite(SPRITE_HEAD_BOTTOM, headMid, "", colors[2]);
- dstBeing->updateSprite(SPRITE_CLOTHES_COLOR, headTop, "", colors[1]);
+ dstBeing->updateSprite(SPRITE_CLOTHES_COLOR, headTop,
+ "", colors[1]);
}
else
{
@@ -680,7 +681,8 @@ void BeingHandler::processPlayerUpdate2(Net::MessageIn &msg)
dstBeing->updateSprite(SPRITE_WEAPON, headBottom,
"", colors[0]);
dstBeing->updateSprite(SPRITE_HEAD_BOTTOM, headMid, "", colors[2]);
- dstBeing->updateSprite(SPRITE_CLOTHES_COLOR, headTop, "", colors[1]);
+ dstBeing->updateSprite(SPRITE_CLOTHES_COLOR, headTop,
+ "", colors[1]);
}
else
{
@@ -831,7 +833,8 @@ void BeingHandler::processPlayerMove(Net::MessageIn &msg)
dstBeing->updateSprite(SPRITE_WEAPON, headBottom,
"", colors[0]);
dstBeing->updateSprite(SPRITE_HEAD_BOTTOM, headMid, "", colors[2]);
- dstBeing->updateSprite(SPRITE_CLOTHES_COLOR, headTop, "", colors[1]);
+ dstBeing->updateSprite(SPRITE_CLOTHES_COLOR, headTop,
+ "", colors[1]);
}
else
{
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index cec4d2772..c2aa6b4e0 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -23,25 +23,20 @@
#include "net/tmwa/playerhandler.h"
#include "configuration.h"
-#include "game.h"
#include "being/attributes.h"
#include "being/beingflag.h"
#include "being/localplayer.h"
+#include "gui/onlineplayer.h"
+
#include "gui/windows/statuswindow.h"
+#include "gui/windows/whoisonline.h"
#include "net/tmwa/inventoryhandler.h"
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocol.h"
-#include "gui/windows/whoisonline.h"
-
-#include "gui/onlineplayer.h"
-#include "gui/viewport.h"
-
-#include "resources/map/map.h"
-
#include "debug.h"
extern Net::PlayerHandler *playerHandler;