From 1eeb6d538db9374c090ca3c57eb9d21f86b42519 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 13 Apr 2019 10:18:03 +0200 Subject: [PATCH] Astyle --- src/activity_handlers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/activity_handlers.cpp b/src/activity_handlers.cpp index c7f28de36a0a5..0a82171560cc9 100644 --- a/src/activity_handlers.cpp +++ b/src/activity_handlers.cpp @@ -2680,7 +2680,8 @@ void activity_handlers::craft_do_turn( player_activity *act, player *p ) // Must ensure >= 1 so we don't divide by 0; const double base_total_moves = std::max( 1, rec.batch_time( craft->charges, 1.0f, 0 ) ); // Current expected total moves, includes crafting speed modifiers and assistants - const double cur_total_moves = std::max( 1, rec.batch_time( craft->charges, crafting_speed, assistants ) ); + const double cur_total_moves = std::max( 1, rec.batch_time( craft->charges, crafting_speed, + assistants ) ); // Delta progress in moves adjusted for current crafting speed const double delta_progress = p->get_moves() * base_total_moves / cur_total_moves; // Current progress in moves