aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-02-06 13:53:56 +0100
committerShauren <shauren.trinity@gmail.com>2016-03-12 23:45:42 +0100
commit67aa8cabce360e42fa1cd4a4d425ed4f655d0d34 (patch)
treebda26b61dfd999e3389a74f82dc0b8c8df79202e /src
parent3ed41235f3e4fa263c44da98ee9ab7f76ec77101 (diff)
Warning fix
(cherry picked from commit 983635458bbe84b359713693da0be2bfdcd55536)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Unit/Unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.h b/src/server/game/Entities/Unit/Unit.h
index 172c907d0b9..0c4ee979748 100644
--- a/src/server/game/Entities/Unit/Unit.h
+++ b/src/server/game/Entities/Unit/Unit.h
@@ -586,7 +586,7 @@ enum DamageEffectType
};
// Value masks for UNIT_FIELD_FLAGS
-enum UnitFlags
+enum UnitFlags : uint32
{
UNIT_FLAG_SERVER_CONTROLLED = 0x00000001, // set only when unit movement is controlled by server - by SPLINE/MONSTER_MOVE packets, together with UNIT_FLAG_STUNNED; only set to units controlled by client; client function CGUnit_C::IsClientControlled returns false when set for owner
UNIT_FLAG_NON_ATTACKABLE = 0x00000002, // not attackable