From 3c7ae2b226250ded933cdefac9458756fa468c40 Mon Sep 17 00:00:00 2001 From: gvcoman Date: Fri, 7 Nov 2008 16:56:16 -0600 Subject: [svn] Removed accidentally forgotten debug code added in [197]. --HG-- branch : trunk --- src/game/Player.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/game/Player.cpp') 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 -- cgit v1.2.3