diff --git a/src/ranged.cpp b/src/ranged.cpp index b7dc915656ac2..74ed2f22d959a 100644 --- a/src/ranged.cpp +++ b/src/ranged.cpp @@ -1707,7 +1707,7 @@ static std::vector calculate_ranged_chances( const recoil_prediction aim_to_selected = predict_recoil( you, weapon, target, ui.get_sight_dispersion(), ui.get_selected_aim_type(), you.recoil ); - const int selected_steadiness = calc_steadiness( you, weapon, pos, aim_to_selected.recoil ); + const double selected_steadiness = calc_steadiness( you, weapon, pos, aim_to_selected.recoil ); const int throw_moves = throw_cost( you, weapon );