aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgvcoman <none@none>2008-11-07 16:56:16 -0600
committergvcoman <none@none>2008-11-07 16:56:16 -0600
commit3c7ae2b226250ded933cdefac9458756fa468c40 (patch)
treef6b48bb690806a798108966ff162264a9540e1e9 /src
parente18c77155311ff47b2609c37ccf9abda43d6e3a5 (diff)
[svn] Removed accidentally forgotten debug code added in [197].
--HG-- branch : trunk
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