mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +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
@ -735,7 +735,7 @@ namespace MWGui
|
||||
}
|
||||
}
|
||||
|
||||
if (!found)
|
||||
if (!found || selected == cycled)
|
||||
return;
|
||||
|
||||
useItem(model.getItem(cycled).mBase);
|
||||
|
Loading…
x
Reference in New Issue
Block a user