Fixed bug in half-duplex keys. Was updating their toggled state

om every release as well as press.
This commit is contained in:
crs 2004-10-23 18:40:31 +00:00
parent 91acd26d93
commit 3f7f946ab0
1 changed files with 0 additions and 1 deletions

View File

@ -510,7 +510,6 @@ CKeyState::updateKeyState(KeyButton serverID, KeyButton localID, bool press)
// never report half-duplex keys as down // never report half-duplex keys as down
if (isHalfDuplex(mask)) { if (isHalfDuplex(mask)) {
m_keys[localID] &= ~kDown; m_keys[localID] &= ~kDown;
press = true;
} }
// toggle on the press // toggle on the press