summaryrefslogtreecommitdiffstats
path: root/src/game-server/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/being.cpp')
-rw-r--r--src/game-server/being.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp
index f3d4530..22ce30d 100644
--- a/src/game-server/being.cpp
+++ b/src/game-server/being.cpp
@@ -27,7 +27,6 @@
#include "game-server/attributemanager.h"
#include "game-server/character.h"
#include "game-server/collisiondetection.h"
-#include "game-server/combatcomponent.h"
#include "game-server/mapcomposite.h"
#include "game-server/effect.h"
#include "game-server/skillmanager.h"
@@ -310,8 +309,8 @@ int BeingComponent::directionToAngle(int direction)
void BeingComponent::setAction(Entity &entity, BeingAction action)
{
mAction = action;
- if (action != ATTACK && // The players are informed about these actions
- action != WALK) // by other messages
+ // The players are informed about these actions by other messages
+ if (action != WALK)
{
entity.getComponent<ActorComponent>()->raiseUpdateFlags(
UPDATEFLAG_ACTIONCHANGE);