From 2bd59adc7c456ce6f377feac8bc838e8011ebfc8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Jun 2015 21:49:04 +0300 Subject: Fix code style. --- src/being/being.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index 59ceb04d7..2fdbfe55a 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -39,14 +39,12 @@ #include "being/playerinfo.h" #include "being/playerrelations.h" -#include "enums/being/attributes.h" #include "enums/being/beingdirection.h" -#include "enums/net/packettype.h" - #include "particle/particleinfo.h" #include "gui/gui.h" +#include "gui/userpalette.h" #include "gui/fonts/font.h" @@ -61,7 +59,6 @@ #include "net/gamehandler.h" #include "net/npchandler.h" #include "net/packetlimiter.h" -#include "net/pethandler.h" #include "net/playerhandler.h" #include "net/serverfeatures.h" @@ -1681,7 +1678,6 @@ void Being::petLogic() setAction(BeingAction::STAND, 0); fixPetSpawnPos(dstX, dstY); setTileCoords(dstX, dstY); - //petHandler->spawn(mOwner, mId, dstX, dstY); mPetAi = true; } else if (!followDist || divX > followDist || divY > followDist) @@ -3354,7 +3350,6 @@ void Being::addPet(const BeingId id) int dstY = mY; being->fixPetSpawnPos(dstX, dstY); being->setTileCoords(dstX, dstY); - //petHandler->spawn(this, being->mId, dstX, dstY); } } -- cgit v1.2.3-70-g09d2