Browse Source

Remove MAX from Char Panel Resists (#4103)

* Remove MAX from Char Panel Resists
Co-authored-by: obligaron <obligaron@live.com>
Co-authored-by: qndel <stefan551@o2.pl>
pull/4114/head
KPhoenix 4 years ago committed by GitHub
parent
commit
8d71a48b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Source/panels/charpanel.cpp

4
Source/panels/charpanel.cpp

@ -107,9 +107,7 @@ StyledText GetResistInfo(int8_t resist)
else if (resist >= MAXRESIST)
style = UiFlags::ColorWhitegold;
return {
style, (resist >= MAXRESIST ? _("MAX") : fmt::format("{:d}%", resist))
};
return { style, fmt::format("{:d}%", resist) };
}
constexpr int LeftColumnLabelX = 88;

Loading…
Cancel
Save