From ac495cf7ada689b3e06499c24e227529fdbf30b5 Mon Sep 17 00:00:00 2001 From: sonil Date: Sun, 18 Jun 2023 19:40:29 +0800 Subject: [PATCH] Fixed mouse freezing in combat during NPC turns when using touchscreen --- src/combat.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/combat.cc b/src/combat.cc index 6d28fe0..9c37314 100644 --- a/src/combat.cc +++ b/src/combat.cc @@ -2629,7 +2629,7 @@ static void _combat_begin(Object* a1) reg_anim_end(); while (animationIsBusy(v1)) { - _process_bk(); + inputGetInput(); } } } @@ -2796,7 +2796,7 @@ static void _combat_over() reg_anim_end(); while (animationIsBusy(critter)) { - _process_bk(); + inputGetInput(); } } } @@ -3113,7 +3113,7 @@ void _combat_turn_run() while (_combat_turn_running > 0) { sharedFpsLimiter.mark(); - _process_bk(); + inputGetInput(); renderPresent(); sharedFpsLimiter.throttle();