From 07ba043eae87474cb7df9897a8feaad37e28a927 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 6 Feb 2016 13:53:56 +0100 Subject: [PATCH] Warning fix (cherry picked from commit 983635458bbe84b359713693da0be2bfdcd55536) --- src/server/game/Entities/Unit/Unit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Entities/Unit/Unit.h b/src/server/game/Entities/Unit/Unit.h index 22f5f9cd2c1..ead76945b9d 100644 --- a/src/server/game/Entities/Unit/Unit.h +++ b/src/server/game/Entities/Unit/Unit.h @@ -598,7 +598,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