Core/Arenas/Dalaran Sewers: Reset the knockback effect if someone manages to get back to the starting pipes.

This commit is contained in:
Souler
2012-03-02 17:20:46 +01:00
parent c119c0ce13
commit d70c708093
@@ -170,6 +170,10 @@ void BattlegroundDS::HandleAreaTrigger(Player* Source, uint32 Trigger)
{ {
case 5347: case 5347:
case 5348: case 5348:
// Someone has get back into the pipes and the knockback has already been performed,
// so we reset the knockback count for kicking the player again into the arena.
if (getPipeKnockBackCount() >= BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT)
setPipeKnockBackCount(0);
break; break;
default: default:
sLog->outError("WARNING: Unhandled AreaTrigger in Battleground: %u", Trigger); sLog->outError("WARNING: Unhandled AreaTrigger in Battleground: %u", Trigger);