mirror of
https://github.com/sethduda/AdvancedTowing.git
synced 2024-08-30 17:32:12 +00:00
removing allowdamage
This commit is contained in:
parent
679ea3fcc5
commit
e98c4a2f97
Binary file not shown.
Binary file not shown.
@ -210,11 +210,9 @@ SA_Simulate_Towing = {
|
||||
|
||||
_newCargoPosition = _newCargoPosition vectorAdd ( _cargoModelCenterGroundPosition vectorMultiply -1 );
|
||||
|
||||
_cargo allowDamage false;
|
||||
_cargo setVectorDir _newCargoDir;
|
||||
_cargo setVectorUp _surfaceNormal;
|
||||
_cargo setPosWorld _newCargoPosition;
|
||||
_cargo allowDamage true;
|
||||
|
||||
_lastCargoHitchPosition = _newCargoHitchPosition;
|
||||
_maxDistanceToCargo = _vehicleHitchPosition distance _newCargoHitchPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user