mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-26 04:33:45 +00:00
Merge branch 'lcs' into lcs-dev
This commit is contained in:
commit
8b6bcef4b7
1 changed files with 2 additions and 2 deletions
|
@ -1349,9 +1349,9 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
|
|||
CollectParameters(&m_nIp, 2);
|
||||
CPed* pPed = CPools::GetPedPool()->GetAt(GET_INTEGER_PARAM(0));
|
||||
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->SetObjective(OBJECTIVE_DESTROY_OBJECT, pVehicle);
|
||||
pPed->SetObjective(OBJECTIVE_DESTROY_OBJECT, pObject);
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_SET_CHAR_OBJ_DESTROY_CAR:
|
||||
|
|
Loading…
Reference in a new issue