forked from teamnwah/openmw-tes3coop
remove the restriction on the last quick key
This commit is contained in:
parent
6161f81c24
commit
bc36b0e2bd
1 changed files with 0 additions and 3 deletions
|
@ -67,9 +67,6 @@ namespace MWGui
|
||||||
MyGUI::Button* button;
|
MyGUI::Button* button;
|
||||||
getWidget(button, "QuickKey" + boost::lexical_cast<std::string>(i+1));
|
getWidget(button, "QuickKey" + boost::lexical_cast<std::string>(i+1));
|
||||||
|
|
||||||
if (i != 9) // 10th quick key is always set to hand-to-hand
|
|
||||||
button->eventMouseButtonClick += MyGUI::newDelegate(this, &QuickKeysMenu::onQuickKeyButtonClicked);
|
|
||||||
|
|
||||||
unassign(button, i);
|
unassign(button, i);
|
||||||
|
|
||||||
mQuickKeyButtons.push_back(button);
|
mQuickKeyButtons.push_back(button);
|
||||||
|
|
Loading…
Reference in a new issue