#4557 - Fix warning about bad func type (#4582)

This commit is contained in:
PabstMirror 2016-10-22 03:56:26 -05:00 committed by Glowbal
parent 23568609a6
commit fc15ab9cf0

View File

@ -51,6 +51,7 @@ if (!([[_unit, _veh]] call _condition)) exitWith {false};
_returnValue = _funcType in ["canLockpick", "startLockpick", "finishLockpick"];
switch (_funcType) do {
case "canLockpick": {};
case "startLockpick": {
[_vehLockpickStrenth, [_unit, _veh, "finishLockpick"], {(_this select 0) call FUNC(lockpick)}, {}, (localize LSTRING(Action_LockpickInUse)), _condition] call EFUNC(common,progressBar);
};