* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user