From b28b1628dd3c43b0d39576c34f81d6928ec8e038 Mon Sep 17 00:00:00 2001 From: MegadreamsBE Date: Wed, 27 Aug 2025 21:33:16 -0400 Subject: [PATCH] Fix client-side peds not being able to enter/exit local vehicles --- Client/mods/deathmatch/logic/CClientPed.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Client/mods/deathmatch/logic/CClientPed.cpp b/Client/mods/deathmatch/logic/CClientPed.cpp index eac1210a6bd..9893a060184 100644 --- a/Client/mods/deathmatch/logic/CClientPed.cpp +++ b/Client/mods/deathmatch/logic/CClientPed.cpp @@ -6532,13 +6532,6 @@ bool CClientPed::EnterVehicle(CClientVehicle* pVehicle, bool bPassenger) return false; } - // Are we a clientside ped - // TODO: Add support for clientside peds - if (IsLocalEntity()) - { - return false; - } - // Are we already inside a vehicle if (GetOccupiedVehicle()) { @@ -6750,13 +6743,6 @@ bool CClientPed::ExitVehicle() return false; } - // Are we a clientside ped - // TODO: Add support for clientside peds - if (IsLocalEntity()) - { - return false; - } - // Get our occupied vehicle CClientVehicle* pOccupiedVehicle = GetOccupiedVehicle(); if (!pOccupiedVehicle)