Fix shotbullet checking (lost in merge)

This commit is contained in:
VKing 2016-01-21 15:56:53 +01:00
parent fedfa94dcd
commit 299baf1e4a

View File

@ -24,7 +24,8 @@ private _turretConfig = [configFile >> "CfgVehicles" >> typeOf _vehicle, _turret
private _magazine = _x;
private _ammo = getText (configFile >> "CfgMagazines" >> _magazine >> "ammo");
if !(getText (configFile >> "CfgAmmo" >> _ammo >> "simulation") == "shotMissile") then {
private _bulletSimulation = getText (configFile >> "CfgAmmo" >> _ammo >> "simulation");
if !(_bulletSimulation == "shotMissile") then {
private _maxElev = getNumber (_turretConfig >> "maxElev");
private _initSpeed = getNumber (configFile >> "CfgMagazines" >> _magazine >> "initSpeed");
private _airFriction = getNumber (configFile >> "CfgAmmo" >> _ammo >> "airFriction");