diff --git a/src/Components/Modules/TextRenderer.cpp b/src/Components/Modules/TextRenderer.cpp index b074d1a2..321d1aba 100644 --- a/src/Components/Modules/TextRenderer.cpp +++ b/src/Components/Modules/TextRenderer.cpp @@ -878,7 +878,7 @@ namespace Components if(letter == '^' && (*curText == '\x01' || *curText == '\x02')) { RotateXY(cosAngle, sinAngle, startX, startY, xa, xy, &xRot, &yRot); - xa += DrawHudIcon(curText, xRot, yRot, sinAngle, cosAngle, font, xScale, yScale, finalColor.packed); + xa += DrawHudIcon(curText, xRot, yRot, sinAngle, cosAngle, font, xScale, yScale, ColorRgba(255, 255, 255, finalColor.array[3])); if (renderFlags & Game::TEXT_RENDERFLAG_PADDING) xa += xScale * padding; diff --git a/src/Components/Modules/TextRenderer.hpp b/src/Components/Modules/TextRenderer.hpp index faf314af..9a285fda 100644 --- a/src/Components/Modules/TextRenderer.hpp +++ b/src/Components/Modules/TextRenderer.hpp @@ -114,6 +114,13 @@ namespace Components {1.0f, -1.0f}, {1.0f, 1.0f}, }; + static constexpr float WHITE_COLOR[4] + { + 1.0f, + 1.0f, + 1.0f, + 1.0f + }; static constexpr float TEXT_COLOR[4] { 1.0f,