Skip to content

Commit

Permalink
Increased available space for skills chapter in description tab of ch…
Browse files Browse the repository at this point in the history
…aracter creation menu (#77511)
  • Loading branch information
Night-Pryanik authored Nov 15, 2024
1 parent 6545009 commit c051bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/newcharacter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4001,9 +4001,9 @@ void set_description( tab_manager &tabs, avatar &you, const bool allow_reroll,
const auto init_windows = [&]( ui_adaptor & ui ) {
const int freeWidth = TERMX - FULL_SCREEN_WIDTH;
isWide = freeWidth > 15;
const int beginx2 = 46;
const int beginx2 = 52;
const int ncol2 = 40;
const int beginx3 = TERMX <= 88 ? TERMX - TERMX / 4 : 86;
const int beginx3 = TERMX <= 88 ? TERMX - TERMX / 4 : 90;
const int ncol3 = TERMX - beginx3 - 2;
const int beginx4 = TERMX <= 130 ? TERMX - TERMX / 5 : 128;
const int ncol4 = TERMX - beginx4 - 2;
Expand All @@ -4026,7 +4026,7 @@ void set_description( tab_manager &tabs, avatar &you, const bool allow_reroll,
w_hobbies = catacurses::newwin( TERMY - 11 - 11, ncol4, point( beginx4, 10 ) );
w_scenario = catacurses::newwin( 1, ncol2, point( beginx2, 3 ) );
w_profession = catacurses::newwin( 1, ncol3, point( beginx3, 3 ) );
w_skills = catacurses::newwin( TERMY - 11, 23, point( 22, 10 ) );
w_skills = catacurses::newwin( TERMY - 11, 27, point( 22, 10 ) );
w_height = catacurses::newwin( 1, ncol2, point( beginx2, 6 ) );
w_age = catacurses::newwin( 1, ncol2, point( beginx2, 7 ) );
w_blood = catacurses::newwin( 1, ncol2, point( beginx2, 8 ) );
Expand Down

0 comments on commit c051bab

Please sign in to comment.