Update grid system. Try to fix some crashes and transport passengers (now they are despawned after a while).
This commit is contained in:
@@ -629,7 +629,7 @@ UpdateMask Player::updateVisualBits;
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4355)
|
||||
#endif
|
||||
Player::Player (WorldSession* session): Unit(), m_achievementMgr(this), m_reputationMgr(this)
|
||||
Player::Player(WorldSession* session): Unit(true), m_achievementMgr(this), m_reputationMgr(this)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(default:4355)
|
||||
@@ -839,7 +839,6 @@ Player::Player (WorldSession* session): Unit(), m_achievementMgr(this), m_reputa
|
||||
m_grantableLevels = 0;
|
||||
|
||||
m_ControlledByPlayer = true;
|
||||
m_isWorldObject = true;
|
||||
|
||||
sWorld->IncreasePlayerCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user