Refactor key release handling in NACT commands

This commit is contained in:
kichikuou
2025-11-27 08:49:51 +09:00
parent fe17265cfb
commit ad73ed9271
6 changed files with 16 additions and 72 deletions
+1 -9
View File
@@ -744,15 +744,7 @@ public:
sys_sleep(16);
}
sys_sleep(100);
for (;;) {
if (terminate) {
return;
}
if (!(get_key() & 0x18)) {
break;
}
sys_sleep(16);
}
wait_key_release(0x18);
ags->clear_text_window(text_window, true);
break;
case 2: