Skip to content

Commit

Permalink
Fix to pollution of stat effects in newcharacter. (#64296)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyghab authored Mar 17, 2023
1 parent cc76a20 commit c4e45f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ void set_stats( tab_manager &tabs, avatar &u, pool_type pool )
werase( w_description );
u.reset_stats();
u.set_stored_kcal( u.get_healthy_kcal() );
u.reset_bonuses(); // Removes pollution of stats by modifications appearing inside reset_stats(). Is reset_stats() even necessary in this context?
switch( sel ) {
case 1:
mvwprintz( w, point( 2, 5 ), COL_SELECT, _( "Strength:" ) );
Expand Down

0 comments on commit c4e45f8

Please sign in to comment.