Implemented OnPlayerReleasedGhost() hook

This commit is contained in:
Kevin
2017-06-29 20:59:37 +02:00
committed by Francesco Borzì
parent ef57d9ba69
commit 2da9db04eb
3 changed files with 9 additions and 0 deletions

View File

@@ -5148,6 +5148,8 @@ void Player::BuildPlayerRepop()
// set and clear other
SetByteValue(UNIT_FIELD_BYTES_1, 3, UNIT_BYTE1_FLAG_ALWAYS_STAND);
sScriptMgr->OnPlayerReleasedGhost(this);
}
void Player::ResurrectPlayer(float restore_percent, bool applySickness)