From 8d71a48b701415c8f435b71da563a68d24b52bd4 Mon Sep 17 00:00:00 2001 From: KPhoenix <68359262+kphoenix137@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:13:23 -0500 Subject: [PATCH] Remove MAX from Char Panel Resists (#4103) * Remove MAX from Char Panel Resists Co-authored-by: obligaron Co-authored-by: qndel --- Source/panels/charpanel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/panels/charpanel.cpp b/Source/panels/charpanel.cpp index e2f4a69b7..5a838da53 100644 --- a/Source/panels/charpanel.cpp +++ b/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;