diff --git a/src/game/Entities/Unit.cpp b/src/game/Entities/Unit.cpp index e4aa3f1d6d4..b84ef4324aa 100644 --- a/src/game/Entities/Unit.cpp +++ b/src/game/Entities/Unit.cpp @@ -9157,12 +9157,6 @@ bool Unit::IsVisibleForOrDetect(Unit const* u, WorldObject const* viewPoint, boo if (m_Visibility == VISIBILITY_REMOVE_CORPSE) return false; - if (this->IsBoarded()) - if (Unit* vehicle = dynamic_cast(this->GetTransportInfo()->GetTransport())) - if (Player* player = const_cast(dynamic_cast(u))) - if (!player->HasAtClient(vehicle)) - return false; - Map& _map = *u->GetMap(); // Grid dead/alive checks if (u->GetTypeId() == TYPEID_PLAYER)