From 9b1541efb1698c65dc0321be496773429b61e79d Mon Sep 17 00:00:00 2001 From: Roy Berube Date: Tue, 10 May 2022 19:53:54 -0600 Subject: [PATCH] Progress update while heating food (#57598) --- src/player_activity.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/player_activity.cpp b/src/player_activity.cpp index 644f88b44e87f..2e27c4a20b4b6 100644 --- a/src/player_activity.cpp +++ b/src/player_activity.cpp @@ -47,6 +47,7 @@ static const activity_id ACT_GAME( "ACT_GAME" ); static const activity_id ACT_GUNMOD_ADD( "ACT_GUNMOD_ADD" ); static const activity_id ACT_HACKSAW( "ACT_HACKSAW" ); static const activity_id ACT_HAND_CRANK( "ACT_HAND_CRANK" ); +static const activity_id ACT_HEATING( "ACT_HEATING" ); static const activity_id ACT_JACKHAMMER( "ACT_JACKHAMMER" ); static const activity_id ACT_MIGRATION_CANCEL( "ACT_MIGRATION_CANCEL" ); static const activity_id ACT_NULL( "ACT_NULL" ); @@ -201,7 +202,8 @@ cata::optional player_activity::get_progress_message( const avatar type == ACT_FILL_PIT || type == ACT_CHOP_TREE || type == ACT_CHOP_LOGS || - type == ACT_CHOP_PLANKS + type == ACT_CHOP_PLANKS || + type == ACT_HEATING ) { const int percentage = ( ( moves_total - moves_left ) * 100 ) / moves_total;