feat(hud): Add force show HUD component and replaced some hard-coded values. (#628)

This commit is contained in:
SpaghettDev
2022-11-26 20:42:58 +01:00
committed by GitHub
parent 2364bc5688
commit cab25b12f7
5 changed files with 44 additions and 17 deletions

View File

@ -313,7 +313,7 @@ namespace big
if (g_context_menu_service->enabled)
{
HUD::SHOW_HUD_COMPONENT_THIS_FRAME(14 /*RETICLE*/);
HUD::SHOW_HUD_COMPONENT_THIS_FRAME(static_cast<int>(HudComponents::RETICLE));
g_context_menu_service->get_entity_closest_to_screen_center();