Core/Unit: UNIT_FLAG renames
[UNIT_FLAG_PLAYER_CONTROLLED -> UNIT_FLAG_POSSESSED] [UNIT_FLAG_PVP_ATTACKABLE -> UNIT_FLAG_PLAYER_CONTROLLED] Signed off by: Shauren, Warlockbugs. # Conflicts: # src/server/game/Entities/Object/Object.cpp # src/server/game/Entities/Pet/Pet.cpp # src/server/game/Entities/Unit/UnitDefines.h # src/server/game/Spells/Auras/SpellAuraEffects.cpp # src/server/game/Spells/Spell.cpp
This commit is contained in:
1 parent
4b07f238ae
commit
d9e6e82c7d
14 files changed
+47
-46
No files matched your search
@@ -112,7 +112,7 @@ public:
|
||||
|
||||
player->SetByteValue(UNIT_FIELD_BYTES_2, 1, UNIT_BYTE2_FLAG_PVP);
|
||||
|
||||
player->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE);
|
||||
player->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PLAYER_CONTROLLED);
|
||||
|
||||
//-1 is default value
|
||||
player->SetUInt32Value(PLAYER_FIELD_WATCHED_FACTION_INDEX, uint32(-1));
|
||||
|
||||
Reference in new issue
Block a user