Missing changes from 72a115f242
This commit is contained in:
1 parent
42d3130a56
commit
8ab453b465
2 files changed
+2
-2
No files matched your search
@@ -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