Fix branding

This commit is contained in:
momo5502 2022-10-17 21:01:21 +02:00
parent 657919cb71
commit 6d80528025

View File

@ -70,7 +70,7 @@ namespace branding
constexpr auto x = 4;
constexpr auto y = 0;
constexpr auto scale = 0.45f;
float color[4] = {0.666f, 0.666f, 0.666f, 1.0f};
float color[4] = {0.666f, 0.666f, 0.666f, 0.666f};
auto* font = reinterpret_cast<uint32_t*(*)()>(0x141CAC8E0_g)();
if (!font) return;
@ -79,7 +79,7 @@ namespace branding
//str += "\n\n" + get_connectivity_info();
game::R_AddCmdDrawText(str.data(), 0x7FFFFFFF, font, static_cast<float>(x),
y + static_cast<float>(font[2]) * scale,
scale, scale, 0.0f, color, game::ITEM_TEXTSTYLE_MONOSPACESHADOWED);
scale, scale, 0.0f, color, game::ITEM_TEXTSTYLE_NORMAL);
}
}