Skip to content

Commit

Permalink
Prevent players from upgrading weight
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf committed Sep 28, 2019
1 parent 28028a5 commit f93bf95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static void draw_stats_tab( const catacurses::window &w_stats, const catacurses:
curtab = action == "NEXT_TAB" ? curtab + 1 : 6;
} else if( action == "QUIT" ) {
done = true;
} else if( action == "CONFIRM" && line < 5 && get_option<bool>( "STATS_THROUGH_KILLS" ) &&
} else if( action == "CONFIRM" && line < 4 && get_option<bool>( "STATS_THROUGH_KILLS" ) &&
you.is_player() ) {
g->u.upgrade_stat_prompt( static_cast<Character::stat>( line ) );
}
Expand Down

0 comments on commit f93bf95

Please sign in to comment.