Revert "Some GamepadUI fixes"

This reverts commit 091308106b.
This commit is contained in:
2024-10-19 21:07:01 +03:00
parent fd60fa6bfb
commit 8dbab45f13
18 changed files with 149 additions and 312 deletions

View File

@@ -1334,16 +1334,6 @@ void CHLClient::HudUpdate( bool bActive )
CRTime::UpdateRealTime();
#endif
#ifdef GAMEPADUI
if (IsGamepadUI())
{
if (!enginevgui->IsGameUIVisible())
{
engine->ExecuteClientCmd("gamepadui_resetfade");
}
}
#endif // GAMEPADUI
GetClientVoiceMgr()->Frame( frametime );
gHUD.UpdateHud( bActive );
@@ -1383,12 +1373,7 @@ void CHLClient::HudUpdate( bool bActive )
void CHLClient::HudReset( void )
{
gHUD.VidInit();
#ifdef GAMEPADUI
if (IsGamepadUI())
{
engine->ExecuteClientCmd("gamepadui_resetfade");
}
#endif // GAMEPADUI
PhysicsReset();
}