[10028] Reward group for shareable quests at cast event to creature/go.

This commit is contained in:
VladimirMangos 2010-06-04 18:37:27 +04:00
parent ff3fb9b727
commit 6ebbcd8dbb
5 changed files with 85 additions and 56 deletions

View file

@ -1034,7 +1034,8 @@ void GameObject::Use(Unit* user)
break;
}
player->CastedCreatureOrGO(info->id, GetObjectGuid(), 0);
player->RewardPlayerAndGroupAtCast(this);
}
if (uint32 trapEntry = info->goober.linkedTrapId)