* Fix bug with end of winterpgrasp, as zone is cleaned of corpses we must revive players if dead.

--HG--
branch : trunk
This commit is contained in:
Biglad
2009-10-12 13:49:28 +01:00
parent 1210b6f284
commit cb09262c1a
+6
View File
@@ -960,6 +960,12 @@ void OPvPWintergrasp::EndBattle()
REMOVE_WARTIME_AURAS(*itr);
REMOVE_TENACITY_AURA(*itr);
(*itr)->CombatStop(true);
// When WG ends the zone is cleaned including corpses, revive all players if dead
if (((*itr)->isDead()) || ((*itr)->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST)))
{
(*itr)->ResurrectPlayer(1.0f);
}
}
// destroyed all vehicles