Skip to content

Commit

Permalink
Update hd_text.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooquer committed Jul 25, 2023
1 parent 2486006 commit af80653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2gl/src/modules/hd_text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ bool HDText::drawText(const wchar_t* str, int x, int y, uint32_t color, uint32_t
font->setShadow(1);
glm::vec2 pos = { (float)x, (float)y };
if (App.hd_text.active && color == 4 && m_text_size == 3 && App.game.screen != GameScreen::Menu)
color = 16;
color = 8;
const auto def_color = font->getColor();
uint32_t text_color = g_text_colors.at(!color && def_color ? def_color : getColor(color));

Expand Down

0 comments on commit af80653

Please sign in to comment.