Fixed mouse freezing in combat during NPC turns when using touchscreen

This commit is contained in:
sonil 2023-06-18 19:40:29 +08:00
parent df2a2e3e41
commit ac495cf7ad
1 changed files with 3 additions and 3 deletions

View File

@ -2629,7 +2629,7 @@ static void _combat_begin(Object* a1)
reg_anim_end(); reg_anim_end();
while (animationIsBusy(v1)) { while (animationIsBusy(v1)) {
_process_bk(); inputGetInput();
} }
} }
} }
@ -2796,7 +2796,7 @@ static void _combat_over()
reg_anim_end(); reg_anim_end();
while (animationIsBusy(critter)) { while (animationIsBusy(critter)) {
_process_bk(); inputGetInput();
} }
} }
} }
@ -3113,7 +3113,7 @@ void _combat_turn_run()
while (_combat_turn_running > 0) { while (_combat_turn_running > 0) {
sharedFpsLimiter.mark(); sharedFpsLimiter.mark();
_process_bk(); inputGetInput();
renderPresent(); renderPresent();
sharedFpsLimiter.throttle(); sharedFpsLimiter.throttle();