Core/Phases: Removed more of the old phasemasks

This commit is contained in:
Subv
2014-06-07 20:26:25 -05:00
parent 402b9b055c
commit bbe51bbd13
8 changed files with 17 additions and 83 deletions
@@ -2068,13 +2068,6 @@ void GameObject::SetInPhase(uint32 id, bool update, bool apply)
EnableCollision(true);
}
void GameObject::SetPhaseMask(uint32 newPhaseMask, bool update)
{
WorldObject::SetPhaseMask(newPhaseMask, update);
if (m_model && m_model->isEnabled())
EnableCollision(true);
}
void GameObject::EnableCollision(bool enable)
{
if (!m_model)