fix for fcs

This commit is contained in:
Nicolás Badano 2015-01-18 17:56:05 -03:00
parent 7895173407
commit e38eb5c09d
2 changed files with 4 additions and 4 deletions

View File

@ -12,5 +12,5 @@
#include "script_component.hpp" #include "script_component.hpp"
_player == gunner _vehicle ACE_player == gunner vehicle ACE_player
&& (count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) && (count ((vehicle ACE_player) getVariable [QGVAR(Magazines), []]) > 1)

View File

@ -12,6 +12,6 @@
#include "script_component.hpp" #include "script_component.hpp"
_player == gunner _vehicle ACE_player == gunner vehicle ACE_player
&& {getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(Enabled)) == 1} && {getNumber (configFile >> "CfgVehicles" >> typeOf (vehicle ACE_player) >> QGVAR(Enabled)) == 1}
&& {cameraView == "GUNNER"} && {cameraView == "GUNNER"}