dont use static

This commit is contained in:
quaK 2024-07-14 02:07:15 +03:00
parent e90ef0fa0d
commit bbf4ff5631

View File

@ -53,7 +53,7 @@ namespace branding
if (dvars::branding && dvars::branding->current.enabled) if (dvars::branding && dvars::branding->current.enabled)
{ {
#if GIT_DIRTY == 1 #if GIT_DIRTY == 1
static const auto font = game::R_RegisterFont("fonts/blender_pro_medium.ttf", 32); const auto font = game::R_RegisterFont("fonts/blender_pro_medium.ttf", 32);
if (!font) return; if (!font) return;
static const auto offset_from_corner = 75.0f; static const auto offset_from_corner = 75.0f;