Missing changes from 72a115f242
This commit is contained in:
@@ -16772,7 +16772,7 @@ void Unit::OutDebugInfo() const
|
||||
{
|
||||
sLog->outStringInLine("Passenger List: ");
|
||||
for (SeatMap::iterator itr = GetVehicleKit()->m_Seats.begin(); itr != GetVehicleKit()->m_Seats.end(); ++itr)
|
||||
if (Unit *passenger = itr->second.passenger)
|
||||
if (Unit* passenger = ObjectAccessor::GetUnit(*GetVehicleBase(), itr->second.passenger))
|
||||
sLog->outStringInLine(UI64FMTD", ", passenger->GetGUID());
|
||||
sLog->outString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user