diff --git a/addons/common/functions/fnc_getVehicleIcon.sqf b/addons/common/functions/fnc_getVehicleIcon.sqf index a55417f303..d2eb33ffc5 100644 --- a/addons/common/functions/fnc_getVehicleIcon.sqf +++ b/addons/common/functions/fnc_getVehicleIcon.sqf @@ -35,7 +35,7 @@ if (isNil "_cachedValue") then { if (_vehicleValue != "" && {((toLowerANSI _vehicleValue) find ".paa") > -1}) then { _cachedValue = _vehicleValue; } else { - if (fileExists (_vehicleValue + ".paa")) then { + if (_vehicleValue select [0,1] == "\" && {fileExists (_vehicleValue + ".paa")}) then { _cachedValue = _vehicleValue + ".paa"; } else { _cachedValue = DEFAULT_TEXTURE;