diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-05 21:49:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-06 12:12:22 +0300 |
commit | 2bd59adc7c456ce6f377feac8bc838e8011ebfc8 (patch) | |
tree | f2f25428e42e59b9a6d55d7c0be9a99c42e96e40 /src/being/being.cpp | |
parent | ac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff) | |
download | plus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz plus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2 plus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz plus-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip |
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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); } } |