aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladislav Golub <vladislavs.golubs@yandex.ru>2021-01-01 01:30:19 +0300
committerGitHub <noreply@github.com>2020-12-31 23:30:19 +0100
commit5bb6243f1a202be88e7d9f5d3a9e26368d67f525 (patch)
treed0ffa7eb2321817554581cfdbcd0f8643eba46b2 /src
parent7625bd960ebc4fab970fb27072aececf9e936e2f (diff)
Core/Misc: Adjust comment about can fly movement flag (#24927)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Unit/UnitDefines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/UnitDefines.h b/src/server/game/Entities/Unit/UnitDefines.h
index a01f5c67df4..bf5b398db6a 100644
--- a/src/server/game/Entities/Unit/UnitDefines.h
+++ b/src/server/game/Entities/Unit/UnitDefines.h
@@ -307,7 +307,7 @@ enum MovementFlags : uint32
MOVEMENTFLAG_SWIMMING = 0x00100000, // appears with fly flag also
MOVEMENTFLAG_ASCENDING = 0x00200000, // press "space" when flying
MOVEMENTFLAG_DESCENDING = 0x00400000,
- MOVEMENTFLAG_CAN_FLY = 0x00800000, // Appears when unit can fly AND also walk
+ MOVEMENTFLAG_CAN_FLY = 0x00800000, // Appears when unit can fly. For example, appears when a player sits on a mount.
MOVEMENTFLAG_FLYING = 0x01000000, // unit is actually flying. pretty sure this is only used for players. creatures use disable_gravity
MOVEMENTFLAG_SPLINE_ELEVATION = 0x02000000, // used for flight paths
MOVEMENTFLAG_WATERWALKING = 0x04000000, // prevent unit from falling through water