forked from eden-emu/eden
Fix unnecessary diffs
This commit is contained in:
parent
12e679c39c
commit
33c08afba9
4 changed files with 27 additions and 29 deletions
|
@ -49,9 +49,8 @@ public:
|
|||
void ChangeKeyStatus(int key_code, bool pressed) {
|
||||
std::lock_guard guard{mutex};
|
||||
for (const KeyButtonPair& pair : list) {
|
||||
if (pair.key_code == key_code) {
|
||||
if (pair.key_code == key_code)
|
||||
pair.key_button->status.store(pressed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue