From 9d2395e1d379e539bd6da0138cb425532c848cb6 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 11 Sep 2017 19:40:02 +0200 Subject: [PATCH] Restored behaviour about a vehicle.cpp condition Fixing #602 --- src/game/Entities/Vehicle/Vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Entities/Vehicle/Vehicle.cpp b/src/game/Entities/Vehicle/Vehicle.cpp index ef16117b2..39cce01f2 100644 --- a/src/game/Entities/Vehicle/Vehicle.cpp +++ b/src/game/Entities/Vehicle/Vehicle.cpp @@ -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)