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 89ad2755ac
commit 2db1ce1c48
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();