Restored behaviour about a vehicle.cpp condition

Fixing #602
This commit is contained in:
Yehonal
2017-09-11 19:40:02 +02:00
committed by GitHub
parent 2aedf13593
commit 9d2395e1d3

View File

@@ -311,8 +311,8 @@ bool Vehicle::AddPassenger(Unit* unit, int8 seatId)
{
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
sLog->outDebug(LOG_FILTER_VEHICLES, "Passenger GuidLow: %u, Entry: %u, attempting to board vehicle GuidLow: %u, Entry: %u during uninstall! SeatId: %i", unit->GetGUIDLow(), unit->GetEntry(), _me->GetGUIDLow(), _me->GetEntry(), (int32)seatId);
return false;
#endif
return false;
}
if (unit->GetVehicle() != this)