Core/Logs: Log full guid instead of just low guid, part 2

(cherry picked from commit 3def52c1c4)
This commit is contained in:
Giacomo Pozzoni
2020-04-05 14:28:24 +02:00
committed by Shauren
parent 363db46c43
commit a9e325f6b7
30 changed files with 161 additions and 186 deletions

View File

@@ -79,7 +79,7 @@ void WorldSession::HandleMoveChangeVehicleSeats(WorldPackets::Vehicle::MoveChang
VehicleSeatEntry const* seat = GetPlayer()->GetVehicle()->GetSeatForPassenger(GetPlayer());
if (!seat->CanSwitchFromSeat())
{
TC_LOG_ERROR("network", "HandleMoveChangeVehicleSeats: %s tried to switch seats but current seatflags %u don't permit that.",
TC_LOG_ERROR("network", "HandleMoveChangeVehicleSeats: Player %s tried to switch seats but current seatflags %u don't permit that.",
GetPlayer()->GetGUID().ToString().c_str(), seat->Flags);
return;
}
@@ -184,7 +184,7 @@ void WorldSession::HandleRequestVehicleExit(WorldPackets::Vehicle::RequestVehicl
if (itr->second.SeatInfo->CanEnterOrExit())
GetPlayer()->ExitVehicle();
else
TC_LOG_ERROR("network", "%s tried to exit vehicle, but seatflags %u (ID: %u) don't permit that.",
TC_LOG_ERROR("network", "Player %s tried to exit vehicle, but seatflags %u (ID: %u) don't permit that.",
GetPlayer()->GetGUID().ToString().c_str(), vehicle->GetVehicleInfo()->SeatID[itr->first], itr->second.SeatInfo->Flags);
}
}