summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-05 21:49:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-06 12:12:22 +0300
commit2bd59adc7c456ce6f377feac8bc838e8011ebfc8 (patch)
treef2f25428e42e59b9a6d55d7c0be9a99c42e96e40 /src/being/being.cpp
parentac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff)
downloadManaVerse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz
ManaVerse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2
ManaVerse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz
ManaVerse-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp7
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);
}
}