Fix speed typo in damage handler and vehicle getOut

Vanilla commit:

1f6dd9f787
This commit is contained in:
ebaydayz
2016-08-21 12:06:12 -04:00
parent 92fbfdfdae
commit 289b1307ff
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ _falling = (((_hit == "legs") AND {(_source==_unit)}) AND {((_ammo=="") AND {(Da
if (isNull dayz_getout) then {
_vehicleArray = nearestObjects [(getposATL (vehicle _unit)),["Car","Helicopter","Motorcycle","Ship"],3];
{
if ((speed _x > 10) or (speed _x < 8)) exitwith { dayz_HitBy = _x; };
if ((speed _x > 10) or (speed _x < -8)) exitwith { dayz_HitBy = _x; };
} count _vehicleArray;
};

View File

@@ -30,7 +30,7 @@ if (_unit == player) then {
//Lets make sure we can process some dmg from ejecting from the vehicle even traveling at lower speeds.
if (((speed _vehicle) > 15) or ((speed _vehicle) < 10)) then {
if (((speed _vehicle) > 15) or ((speed _vehicle) < -10)) then {
dayz_getout = _vehicle;
dayz_getoutTime = diag_tickTime;
};