[11866] Fix battleground kick for inactive players. Close pull request #29

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
DaC 2011-12-13 17:10:37 +01:00 committed by Schmoozerd
parent f5b94f00b5
commit 92dc57ec85
2 changed files with 7 additions and 1 deletions

View file

@ -2509,6 +2509,12 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
return;
}
case 43681: // Idle
{
if (m_removeMode == AURA_REMOVE_BY_EXPIRE && target->GetTypeId() == TYPEID_PLAYER)
((Player*)target)->ToggleAFK();
return;
}
case 43969: // Feathered Charm
{
// Steelfeather Quest Credit, Are there any requirements for this, like area?

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11865"
#define REVISION_NR "11866"
#endif // __REVISION_NR_H__