Skip to content

Commit

Permalink
Fix not displaying mutant + cbm encumbrance (#36121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramza13 authored and kevingranade committed Dec 18, 2019
1 parent 787fd20 commit e9e50b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/player_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ void player::print_encumbrance( const catacurses::window &win, const int line,
( highlighted ? c_green : c_light_gray );
mvwprintz( win, point( 1, 1 + i ), limb_color, "%s", out );
// accumulated encumbrance from clothing, plus extra encumbrance from layering
mvwprintz( win, point( 8, 1 + i ), encumb_color( e.encumbrance ), "%3d", e.armor_encumbrance );
mvwprintz( win, point( 8, 1 + i ), encumb_color( e.encumbrance ), "%3d",
e.encumbrance - e.layer_penalty );
// separator in low toned color
mvwprintz( win, point( 11, 1 + i ), c_light_gray, "+" );
// take into account the new encumbrance system for layers
Expand Down

0 comments on commit e9e50b3

Please sign in to comment.