Core/Wintergrasp: Fix typo in CMSG_HEARTH_AND_RESURRECT handler

Fix CMSG_HEARTH_AND_RESURRECT handler trying to resurrect players with 100x hp/mana/energy ( SetHealth()/SetPower() were sanitizing the input anyway ) .
This commit is contained in:
jackpoz
2014-01-11 15:23:52 +01:00
parent 8fcfabe784
commit 6f6ad952b9

View File

@@ -1721,7 +1721,7 @@ void WorldSession::HandleHearthAndResurrect(WorldPacket& /*recvData*/)
return;
_player->BuildPlayerRepop();
_player->ResurrectPlayer(100);
_player->ResurrectPlayer(1.0f);
_player->TeleportTo(_player->m_homebindMapId, _player->m_homebindX, _player->m_homebindY, _player->m_homebindZ, _player->GetOrientation());
}