Map - Don't enable map light for parachutes (#6961)

This commit is contained in:
PabstMirror 2019-04-25 13:27:53 -05:00 committed by GitHub
parent 28ac653635
commit 1f1d950588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,7 @@ GVAR(vehicleLightColor) = [1,1,1,0];
switch (true) do {
case (_vehicle isKindOf "Tank");
case (_vehicle isKindOf "Wheeled_APC"): { {true} };
case (_vehicle isKindOf "ParachuteBase"): { {false} };
case (_vehicle isKindOf "Helicopter");
case (_vehicle isKindOf "Plane"): { {(driver _vehicle == _unit) || {gunner _vehicle == _unit}} };
default { {false} };