Browse Source

[Gamepad] Use secondary action button to apply oils

pull/3247/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
76de43fb0a
  1. 7
      Source/controls/plrctrls.cpp

7
Source/controls/plrctrls.cpp

@ -1549,7 +1549,12 @@ void CtrlUseInvItem()
void PerformSecondaryAction()
{
if (invflag) {
CtrlUseInvItem();
if (pcurs > CURSOR_HAND && pcurs < CURSOR_FIRSTITEM) {
TryIconCurs();
NewCursor(CURSOR_HAND);
} else {
CtrlUseInvItem();
}
return;
}

Loading…
Cancel
Save