mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
fix keystate.ClearAll
This commit is contained in:
parent
f4f86d3030
commit
cb541c649c
1 changed files with 2 additions and 2 deletions
|
|
@ -122,9 +122,9 @@ namespace Dalamud.Game.ClientState.Keys
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void ClearAll()
|
public void ClearAll()
|
||||||
{
|
{
|
||||||
for (var i = 0; i < MaxKeyCodeIndex; i++)
|
foreach (var vk in this.GetValidVirtualKeys())
|
||||||
{
|
{
|
||||||
this.GetRefValue(i) = 0;
|
this[vk] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue