diff --git a/src/combat.cc b/src/combat.cc index 2684215..071ac85 100644 --- a/src/combat.cc +++ b/src/combat.cc @@ -5580,6 +5580,8 @@ static int calledShotSelectHitLocation(Object* critter, int* hitLocation, int hi int eventCode; while (true) { + sharedFpsLimiter.mark(); + eventCode = inputGetInput(); if (eventCode == KEY_ESCAPE) { @@ -5593,6 +5595,9 @@ static int calledShotSelectHitLocation(Object* critter, int* hitLocation, int hi if (_game_user_wants_to_quit != 0) { break; } + + renderPresent(); + sharedFpsLimiter.throttle(); } _gmouse_enable();