Skip to content

Commit 81eb733

Browse files
committed
chore: address comments
1 parent 755df97 commit 81eb733

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/server/game/Globals/ObjectMgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7028,7 +7028,7 @@ WorldSafeLocsEntry const* ObjectMgr::GetClosestGraveyard(float x, float y, float
70287028
{
70297029
if (z > -500)
70307030
{
7031-
TC_LOG_ERROR("misc", "ZoneId not found for map {} coords ({}, {}, {}), player GUID: {}", MapId, x, y, z, playerGuid.GetRawValue());
7031+
TC_LOG_ERROR("misc", "ZoneId not found for map {} coords ({}, {}, {}), player GUID: {}", MapId, x, y, z, playerGuid);
70327032
return GetDefaultGraveyard(team);
70337033
}
70347034
}

src/server/game/Handlers/NPCHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ void WorldSession::SendSpiritResurrect()
222222
{
223223
WorldLocation const& corpseLocation = _player->GetCorpseLocation();
224224
corpseGrave = sObjectMgr->GetClosestGraveyard(corpseLocation.GetPositionX(), corpseLocation.GetPositionY(),
225-
corpseLocation.GetPositionZ(), corpseLocation.GetMapId(), _player->GetTeam(), _player->GetGUID());
225+
corpseLocation.GetPositionZ(), corpseLocation.GetMapId(), _player->GetTeam(), _player->GetGUID());
226226
}
227227

228228
// now can spawn bones

0 commit comments

Comments
 (0)