mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#1838 - Remove base airFriction test (broke smokes)
This commit is contained in:
parent
061ddbd8de
commit
78d0767051
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_shooterMan", "_bisAirFriction", "_temperature", "_newMuzzleVelocityCoefficent", "_bulletVelocity", "_bulletSpeed"];
|
||||
private ["_shooterMan", "_temperature", "_newMuzzleVelocityCoefficent", "_bulletVelocity", "_bulletSpeed"];
|
||||
|
||||
disableSerialization;
|
||||
|
||||
@ -35,11 +35,6 @@ if (_vehicle distance ACE_player > 8000) exitWith {false};
|
||||
_shooterMan = gunner _vehicle;
|
||||
if (!([_shooterMan] call EFUNC(common,isPlayer))) exitWith {false};
|
||||
|
||||
//Should be zero, just make sure:
|
||||
_bisAirFriction = getNumber (configFile >> "CfgAmmo" >> _ammo >> "airFriction");
|
||||
if (_bisAirFriction != 0) exitWith {ERROR("Non zero base airFriction");};
|
||||
|
||||
|
||||
//Calculate air density:
|
||||
_altitude = (getPosASL _vehicle) select 2;
|
||||
_temperature = _altitude call EFUNC(weather,calculateTemperatureAtHeight);
|
||||
|
Loading…
Reference in New Issue
Block a user