Skip to content

Commit 605e16d

Browse files
authored
Revert modified checks for vehicle in & out packet (#4129)
1 parent 79dea1c commit 605e16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/CGame.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2973,7 +2973,7 @@ void CGame::Packet_Vehicle_InOut(CVehicleInOutPacket& Packet)
29732973
// Grab the ped with the chosen ID
29742974
ElementID PedID = Packet.GetPedID();
29752975
CElement* pPedElement = CElementIDs::GetElement(PedID);
2976-
if (pPedElement && IS_PED(pPedElement) && (pPedElement == pPlayer || !IS_PLAYER(pPedElement)))
2976+
if (pPedElement && IS_PED(pPedElement))
29772977
{
29782978
CPed* pPed = static_cast<CPed*>(pPedElement);
29792979
bool bValidPed = false;

0 commit comments

Comments
 (0)