# HG changeset patch # User sqwishy # Date 1455865641 28800 # Thu Feb 18 23:07:21 2016 -0800 # Node ID bdfa1911ca156ed2cd16122a2d5a2531d2c13ed7 # Parent 738e88910a77f4731bb45a32c621eebb5fb7e3b4 Corrects incorrect syntax for determining if a thing is a car diff --git a/ineptifex/fn_configurePawnWaypoint.sqf b/ineptifex/fn_configurePawnWaypoint.sqf --- a/ineptifex/fn_configurePawnWaypoint.sqf +++ b/ineptifex/fn_configurePawnWaypoint.sqf @@ -39,7 +39,7 @@ // Ensure we have units to garrison if ([units _grp, { (not ((vehicle _x) isEqualTo _x)) - and {not ((vehicle _x) isKindOf (configFile >> "CfgVehicles" >> "Car"))} + and {not ((typeOf vehicle _x) isKindOf ["Car", configFile >> "CfgVehicles"])} }] call INEPT_fnc_any) exitWith {/* Don't garrison if we are in a group with a vehicle that isn't a car */}; VAR(_garrison_me) = [