summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
commitc65cb0d97fbaa37f531d6fb47ce9d798b001b637 (patch)
treecce1030add4a837913b9e730a5550a67d03d236e /src/actormanager.cpp
parent3d236906de18c846aa052f1d4cef1b0686a43854 (diff)
downloadplus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.gz
plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.bz2
plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.xz
plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.zip
fix code style.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 518a65553..56a04fe55 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -317,7 +317,8 @@ Being *ActorManager::findBeingByPixel(const int x, const int y,
return nullptr;
const bool targetDead = mTargetDeadPlayers;
- const bool modActive = inputManager.isActionActive(InputAction::STOP_ATTACK);
+ const bool modActive = inputManager.isActionActive(
+ InputAction::STOP_ATTACK);
if (mExtMouseTargeting)
{
@@ -427,7 +428,8 @@ void ActorManager::findBeingsByPixel(std::vector<ActorSprite*> &beings,
const int xtol = mapTileSize / 2;
const int uptol = mapTileSize;
- const bool modActive = inputManager.isActionActive(InputAction::STOP_ATTACK);
+ const bool modActive = inputManager.isActionActive(
+ InputAction::STOP_ATTACK);
for_actors
{
@@ -875,7 +877,8 @@ Being *ActorManager::findNearestLivingBeing(const Being *const aroundBeing,
const bool filtered = config.getBoolValue("enableAttackFilter")
&& type == ActorType::MONSTER;
- const bool modActive = inputManager.isActionActive(InputAction::STOP_ATTACK);
+ const bool modActive = inputManager.isActionActive(
+ InputAction::STOP_ATTACK);
bool ignoreDefault = false;
if (filtered)