refactor: eVehicleFlags::ACTIVE changed to TRIGGER_SPAWN_TOGGLE
This commit is contained in:
parent
f6ba4d8257
commit
b7a0c39c02
@ -15,9 +15,10 @@ namespace big
|
||||
|
||||
enum eVehicleFlags
|
||||
{
|
||||
ACTIVE = 1 << 0,
|
||||
TRIGGER_SPAWN_TOGGLE = 1 << 0,
|
||||
DESTROYED = 1 << 1,
|
||||
HAS_INSURANCE = 1 << 2,
|
||||
PEGASUS = 1 << 3, // unsure
|
||||
IMPOUNDED = 1 << 6,
|
||||
UNK1 = 1 << 10,
|
||||
UNK2 = 1 << 11,
|
||||
|
@ -20,7 +20,7 @@ namespace big::mobile
|
||||
{
|
||||
misc::clear_bits(
|
||||
vehicle_global.at(get_current_personal_vehicle(), 142).at(103).as<int*>(),
|
||||
eVehicleFlags::ACTIVE | eVehicleFlags::UNK2
|
||||
eVehicleFlags::TRIGGER_SPAWN_TOGGLE | eVehicleFlags::UNK2
|
||||
);
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@ namespace big::mobile
|
||||
);
|
||||
misc::set_bits(
|
||||
vehicle_global.at(veh_idx, 142).at(103).as<int*>(),
|
||||
eVehicleFlags::ACTIVE | eVehicleFlags::UNK2
|
||||
eVehicleFlags::TRIGGER_SPAWN_TOGGLE | eVehicleFlags::UNK2
|
||||
);
|
||||
}
|
||||
return can_be_fixed;
|
||||
|
Reference in New Issue
Block a user