mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
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)
|
void QuickKeysMenu::activateQuickKey(int index)
|
||||||
{
|
{
|
||||||
assert (index-1 > 0);
|
assert (index-1 >= 0);
|
||||||
ItemWidget* button = mQuickKeyButtons[index-1];
|
ItemWidget* button = mQuickKeyButtons[index-1];
|
||||||
|
|
||||||
QuickKeyType type = mAssigned[index-1];
|
QuickKeyType type = mAssigned[index-1];
|
||||||
|
|
Loading…
Reference in a new issue