Skip to content

Commit

Permalink
Merge pull request #45418 from Squishums/wait-time-fix
Browse files Browse the repository at this point in the history
Fixes inaccurate wait durations in the "Wait a while" menu
  • Loading branch information
ZhilkinSerg authored Nov 15, 2020
2 parents e6f924f + 4c4613d commit a2c2a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ static void wait()
actType = ACT_WAIT;
}

player_activity new_act( actType, 100 * ( to_turns<int>( time_to_wait ) - 1 ), 0 );
player_activity new_act( actType, 100 * ( to_turns<int>( time_to_wait ) ), 0 );

player_character.assign_activity( new_act, false );
}
Expand Down

0 comments on commit a2c2a36

Please sign in to comment.