Fix medical vehicle return value

Could fix #1142
This commit is contained in:
Glowbal 2015-05-13 15:55:03 +02:00 committed by KoffeinFlummi
parent c6991fde54
commit 771b62ed04

View File

@ -15,4 +15,4 @@
private ["_vehicle"];
_vehicle = _this select 0;
_vehicle getVariable [QGVAR(medicClass), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant") == 1]
(_vehicle getVariable [QGVAR(medicClass), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant")]) > 0