Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaqtincha committed Feb 12, 2025
1 parent c51c1cd commit 5336f3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8115,8 +8115,10 @@ void CBasePlayer::UpdateStatusBar()
Q_strlcpy(sbuf0, " ");
#ifdef REGAMEDLL_ADD
if (static_cast<int>(playerid_showhealth.value) != 0)
newSBarState[SBAR_ID_TARGETHEALTH] = int((pEntity->pev->health / pEntity->pev->max_health) * 100);
#endif
{
newSBarState[SBAR_ID_TARGETHEALTH] = int((pEntity->pev->health / pEntity->pev->max_health) * 100);
}

if (!(m_flDisplayHistory & DHF_FRIEND_SEEN) && !(pev->flags & FL_SPECTATOR))
{
Expand Down

0 comments on commit 5336f3c

Please sign in to comment.