diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 9 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 11 |
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; |