Core: Removed unused functions (leftovers from sd2, was needed when scripts were built as separate dll)

This commit is contained in:
Shauren
2011-04-01 20:31:15 +02:00
parent 2cc51e2482
commit e1bacef346
18 changed files with 29 additions and 96 deletions
@@ -106,7 +106,7 @@ public:
{
me->SetReactState(REACT_PASSIVE);
if (!me->GetEquipmentId())
if (const CreatureInfo *info = GetCreatureInfo(28406))
if (const CreatureInfo *info = ObjectMgr::GetCreatureTemplate(28406))
if (info->equipmentId)
const_cast<CreatureInfo*>(me->GetCreatureInfo())->equipmentId = info->equipmentId;
}