[7217] Remove outdated for 3.0.x gameobject 187039 invisibility (type 10) set in code.

Now gameobject expected have phasemask 2 in DB for expected work.

Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-01 16:50:39 -06:00
parent 8fec3690ba
commit 8b05faacab
2 changed files with 1 additions and 5 deletions

View File

@@ -744,10 +744,6 @@ bool GameObject::isVisibleForInState(Player const* u, bool inVisibleList) const
if(check stuff here)
return false;
}*/
// Smuggled Mana Cell required 10 invisibility type detection/state
if(GetEntry()==187039 && ((u->m_detectInvisibilityMask | u->m_invisibilityMask) & (1<<10))==0)
return false;
}
// check distance