Core/Cleanup: Drop some unused code.

Closes #1010, #581, and #248
This commit is contained in:
laly
2011-03-26 03:28:59 +02:00
committed by Shocker
parent 30d6b0fcd6
commit b9af020e72
3 changed files with 9 additions and 23 deletions
@@ -805,11 +805,6 @@ Player::Player (WorldSession *session): Unit(), m_achievementMgr(this), m_reputa
m_summon_y = 0.0f;
m_summon_z = 0.0f;
//Default movement to run mode
//m_unit_movement_flags = 0;
m_AreaID = 0;
m_mover = this;
m_movedPlayer = this;
m_seer = this;
@@ -6770,11 +6765,6 @@ void Player::CheckAreaExploreAndOutdoor()
if (isInFlight())
return;
if (!m_AreaID)
m_AreaID = GetAreaId();
if (m_AreaID != GetAreaId())
m_AreaID = GetAreaId();
bool isOutdoor;
uint16 areaFlag = GetBaseMap()->GetAreaFlag(GetPositionX(),GetPositionY(),GetPositionZ(), &isOutdoor);
-1
View File
@@ -2429,7 +2429,6 @@ class Player : public Unit, public GridObject<Player>
bool isDebugAreaTriggers;
protected:
uint32 m_AreaID;
uint32 m_regenTimerCount;
float m_powerFraction[MAX_POWERS];
uint32 m_contestedPvPTimer;