mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 11:28:26 +00:00
fix wrong variable being sizeof()'d
This commit is contained in:
parent
c9f8724d50
commit
35b61a0abc
@ -1795,8 +1795,8 @@ void UpdateTopLeftHUD(int client, bool wait)
|
|||||||
|
|
||||||
float fSelfPB = Shavit_GetClientPB(client, style, track);
|
float fSelfPB = Shavit_GetClientPB(client, style, track);
|
||||||
char sSelfPB[64];
|
char sSelfPB[64];
|
||||||
FormatSeconds(fSelfPB, sSelfPB, sizeof(fSelfPB));
|
FormatSeconds(fSelfPB, sSelfPB, sizeof(sSelfPB));
|
||||||
Format(sSelfPB, sizeof(fSelfPB), "%T: %s", "HudBestText", client, sSelfPB);
|
Format(sSelfPB, sizeof(sSelfPB), "%T: %s", "HudBestText", client, sSelfPB);
|
||||||
|
|
||||||
if((gI_HUD2Settings[client] & HUD2_SPLITPB) == 0 && target != client)
|
if((gI_HUD2Settings[client] & HUD2_SPLITPB) == 0 && target != client)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user