Core/RBAC: Create 'Skip instance required bosses check' permission

This commit is contained in:
Spp committed 2013-02-25 15:48:18 +01:00
1 parent 8810fcb575
commit 1638092f18
3 files changed
+16 -1

No files matched your search

@@ -954,7 +954,7 @@ class instance_icecrown_citadel : public InstanceMapScript
bool CheckRequiredBosses(uint32 bossId, Player const* player = NULL) const
{
if (player && AccountMgr::IsGMAccount(player->GetSession()->GetSecurity()))
if (player && player->GetSession()->HasPermission(RBAC_PERM_SKIP_CHECK_INSTANCE_REQUIRED_BOSSES))
return true;
switch (bossId)