1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 13:50:01 +00:00

incoming "fuck" commit

This commit is contained in:
Nikolay Korolev 2021-01-14 23:15:12 +03:00
parent d1b2dd2831
commit c00ebef329

View file

@ -1349,9 +1349,9 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
CollectParameters(&m_nIp, 2); CollectParameters(&m_nIp, 2);
CPed* pPed = CPools::GetPedPool()->GetAt(GET_INTEGER_PARAM(0)); CPed* pPed = CPools::GetPedPool()->GetAt(GET_INTEGER_PARAM(0));
script_assert(pPed); script_assert(pPed);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(GET_INTEGER_PARAM(1)); CObject* pObject = CPools::GetObjectPool()->GetAt(GET_INTEGER_PARAM(1));
pPed->bScriptObjectiveCompleted = false; pPed->bScriptObjectiveCompleted = false;
pPed->SetObjective(OBJECTIVE_DESTROY_OBJECT, pVehicle); pPed->SetObjective(OBJECTIVE_DESTROY_OBJECT, pObject);
return 0; return 0;
} }
case COMMAND_SET_CHAR_OBJ_DESTROY_CAR: case COMMAND_SET_CHAR_OBJ_DESTROY_CAR: