diff --git a/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp b/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp index dfa18b7bd57..ffc4466a339 100644 --- a/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp +++ b/Client/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp @@ -8800,9 +8800,6 @@ bool CStaticFunctionDefinitions::SetVehicleHandling(CClientVehicle* pVehicle, eH { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - CHandlingEntry* pEntry = pVehicle->GetHandlingData(); if (pEntry) @@ -8820,9 +8817,6 @@ bool CStaticFunctionDefinitions::SetVehicleHandling(CClientVehicle* pVehicle, eH { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - CHandlingEntry* pEntry = pVehicle->GetHandlingData(); if (pEntry) @@ -8840,9 +8834,6 @@ bool CStaticFunctionDefinitions::SetVehicleHandling(CClientVehicle* pVehicle, eH { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - CHandlingEntry* pEntry = pVehicle->GetHandlingData(); if (pEntry) @@ -8860,9 +8851,6 @@ bool CStaticFunctionDefinitions::SetVehicleHandling(CClientVehicle* pVehicle, eH { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - CHandlingEntry* pEntry = pVehicle->GetHandlingData(); if (pEntry) @@ -8880,9 +8868,6 @@ bool CStaticFunctionDefinitions::SetVehicleHandling(CClientVehicle* pVehicle, eH { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - CHandlingEntry* pEntry = pVehicle->GetHandlingData(); if (pEntry) @@ -8901,9 +8886,6 @@ bool CStaticFunctionDefinitions::ResetVehicleHandling(CClientVehicle* pVehicle) { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - eVehicleTypes eModel = (eVehicleTypes)pVehicle->GetModel(); CHandlingEntry* pEntry = pVehicle->GetHandlingData(); const CHandlingEntry* pNewEntry; @@ -8966,9 +8948,6 @@ bool CStaticFunctionDefinitions::ResetVehicleHandlingProperty(CClientVehicle* pV { assert(pVehicle); - if (!pVehicle->IsLocalEntity()) - return false; - CHandlingEntry* pEntry = pVehicle->GetHandlingData(); const CHandlingEntry* pOrigEntry = pVehicle->GetOriginalHandlingData();