mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:23:54 +00:00
Merge pull request #1531 from drummyfish/cyclefix
Don't switch weapon when cycling to the same weapon (issue #4180)
This commit is contained in:
commit
5e69f6033f
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ namespace MWGui
|
|||
}
|
||||
}
|
||||
|
||||
if (!found)
|
||||
if (!found || selected == cycled)
|
||||
return;
|
||||
|
||||
useItem(model.getItem(cycled).mBase);
|
||||
|
|
Loading…
Reference in a new issue