aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 23:25:02 +0200
committerSpp <none@none>2010-04-07 23:25:02 +0200
commit2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (patch)
treeb744629b9fc3004bcb717c5f95a10724df3a6a62 /src/game/Unit.h
parent49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (diff)
Code Style (game + scripts only):
"==" --> " == " (when needed) --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 2a4f4726ca8..6c62f1c1bfe 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1169,7 +1169,7 @@ class Unit : public WorldObject
bool CanFreeMove() const
{
return !hasUnitState(UNIT_STAT_CONFUSED | UNIT_STAT_FLEEING | UNIT_STAT_IN_FLIGHT |
- UNIT_STAT_ROOT | UNIT_STAT_STUNNED | UNIT_STAT_DISTRACTED) && GetOwnerGUID()==0;
+ UNIT_STAT_ROOT | UNIT_STAT_STUNNED | UNIT_STAT_DISTRACTED) && GetOwnerGUID() == 0;
}
uint32 HasUnitTypeMask(uint32 mask) const { return mask & m_unitTypeMask; }