fix error in canUseFCS

This commit is contained in:
commy2 2015-02-11 15:29:42 +01:00
parent 3f8f08cc8b
commit 7360277d09
2 changed files with 22 additions and 2 deletions

View File

@ -11,7 +11,27 @@ class Extended_PostInit_EventHandlers {
};
class Extended_Init_EventHandlers {
class AllVehicles {
class Tank {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Car {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Helicopter {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Plane {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Ship_F {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
};

View File

@ -12,5 +12,5 @@
#include "script_component.hpp"
getNumber ([configFile >> "CfgVehicles" >> typeOf _vehicle, [_player] call EFUNC(common,getTurretIndex)] call EFUNC(common,getTurretConfigPath) >> QGVAR(Enabled)) == 1
getNumber ([configFile >> "CfgVehicles" >> typeOf vehicle ACE_player, [ACE_player] call EFUNC(common,getTurretIndex)] call EFUNC(common,getTurretConfigPath) >> QGVAR(Enabled)) == 1
&& {cameraView == "GUNNER"}