mirror of
https://github.com/halpz/re3.git
synced 2025-07-29 08:00:29 +00:00
Adding getters and setters for type and status
This commit is contained in:
@ -771,7 +771,7 @@ CPlayerPed::KeepAreaAroundPlayerClear(void)
|
||||
for (int i = 0; i < lastVehicle; i++) {
|
||||
CVehicle *veh = (CVehicle*)vehicles[i];
|
||||
if (veh->VehicleCreatedBy != MISSION_VEHICLE) {
|
||||
if (veh->m_status != STATUS_PLAYER && veh->m_status != STATUS_PLAYER_DISABLED) {
|
||||
if (veh->GetStatus() != STATUS_PLAYER && veh->GetStatus() != STATUS_PLAYER_DISABLED) {
|
||||
if ((veh->GetPosition() - playerPos).MagnitudeSqr() > 25.0f) {
|
||||
veh->AutoPilot.m_nTempAction = TEMPACT_WAIT;
|
||||
veh->AutoPilot.m_nTimeTempAction = CTimer::GetTimeInMilliseconds() + 5000;
|
||||
|
Reference in New Issue
Block a user