mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
Merge pull request #549 from daemitus/keystate2
This commit is contained in:
commit
8bc4598a3c
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