fix: input dropping sometimes

This commit is contained in:
2025-07-02 15:12:14 +02:00
parent 97f7f05a5c
commit b5b51ae555

View File

@@ -70,7 +70,7 @@ int input_getdat(time_t time) {
// handle releasing of keys
mov &= ~(nmov & lmov & mask); // only remove the keys that have been pressed since lmov
lmov = mov; // set the value of lmov to the new value mov
lmov = (mov & mask) | (lmov & ~mask); // set the value of lmov to the new value mov
nmov &= mov; // set nmov to only those in mov
int cmov = mov & mask;