mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-06 09:39:49 +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;
|
return;
|
||||||
|
|
||||||
useItem(model.getItem(cycled).mBase);
|
useItem(model.getItem(cycled).mBase);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user