forked from teamnwah/openmw-tes3coop
Fix crash activating quick key 1
This commit is contained in:
parent
10758d6297
commit
07d20c212b
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ namespace MWGui
|
|||
|
||||
void QuickKeysMenu::activateQuickKey(int index)
|
||||
{
|
||||
assert (index-1 > 0);
|
||||
assert (index-1 >= 0);
|
||||
ItemWidget* button = mQuickKeyButtons[index-1];
|
||||
|
||||
QuickKeyType type = mAssigned[index-1];
|
||||
|
|
Loading…
Reference in a new issue