Remove unnecessary check

This commit is contained in:
Travis Nickles 2017-10-31 18:36:48 -05:00
parent bf11a6d297
commit 2fa075348c

View File

@ -1133,8 +1133,8 @@ namespace DS4Windows
if (usingExtra == DS4Controls.None || usingExtra == dcs.control) if (usingExtra == DS4Controls.None || usingExtra == dcs.control)
{ {
bool shiftE = !string.IsNullOrEmpty(dcs.shiftExtras) && dcs.shiftExtras != "0,0,0,0,0,0,0,0" && ShiftTrigger2(dcs.shiftTrigger, device, cState, eState, tp, fieldMapping); bool shiftE = !string.IsNullOrEmpty(dcs.shiftExtras) && ShiftTrigger2(dcs.shiftTrigger, device, cState, eState, tp, fieldMapping);
bool regE = !string.IsNullOrEmpty(dcs.extras) && dcs.extras != "0,0,0,0,0,0,0,0"; bool regE = !string.IsNullOrEmpty(dcs.extras);
if ((regE || shiftE) && getBoolActionMapping2(device, dcs.control, cState, eState, tp, fieldMapping)) if ((regE || shiftE) && getBoolActionMapping2(device, dcs.control, cState, eState, tp, fieldMapping))
{ {
usingExtra = dcs.control; usingExtra = dcs.control;