aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 9ef583416c6..8699296e75d 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -18660,8 +18660,6 @@ void Player::Possess(Unit *target)
// Update the proper unit fields
SetPossessedTarget(target);
- uint32 flags1 = target->GetUInt32Value(UNIT_FIELD_FLAGS);
-
target->SetUInt32Value(UNIT_FIELD_FACTIONTEMPLATE, getFaction());
target->RemoveUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNKNOWN5);
@@ -18669,8 +18667,6 @@ void Player::Possess(Unit *target)
SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE);
SetUInt64Value(PLAYER_FARSIGHT, target->GetGUID());
- uint32 flags2 = target->GetUInt32Value(UNIT_FIELD_FLAGS);
-
if(target->GetTypeId() == TYPEID_UNIT)
{
// Set target to active in the grid and place it in the world container to be picked up by all regular player cell visits