mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
never used bSpectating anyways
This commit is contained in:
parent
ff9181c355
commit
07f390901a
@ -72,8 +72,6 @@ public void UpdateHUD(int client)
|
||||
{
|
||||
int target = client;
|
||||
|
||||
bool bSpectating;
|
||||
|
||||
if(IsClientObserver(client))
|
||||
{
|
||||
if(GetEntProp(client, Prop_Send, "m_iObserverMode") >= 3)
|
||||
@ -154,10 +152,7 @@ public void UpdateHUD(int client)
|
||||
|
||||
Format(sHintText, 256, "%s\nStyle: <font color='%s</font>", sHintText, bsStyle == Style_Forwards? "#797FD4'>Forwards":"#B54CB3'>Sideways");
|
||||
|
||||
if(!bSpectating)
|
||||
{
|
||||
Format(sHintText, 256, "%s\tPlayer: <font color='#BF6821'>%N</font>", sHintText, target);
|
||||
}
|
||||
Format(sHintText, 256, "%s\tPlayer: <font color='#BF6821'>%N</font>", sHintText, target);
|
||||
|
||||
Format(sHintText, 256, "%s</font>", sHintText);
|
||||
}
|
||||
@ -192,10 +187,7 @@ public void UpdateHUD(int client)
|
||||
|
||||
Format(sHintText, 256, "%s\nStyle: %s", sHintText, bsStyle == Style_Forwards? "Forwards":"Sideways");
|
||||
|
||||
if(!bSpectating)
|
||||
{
|
||||
Format(sHintText, 256, "%s\tPlayer: %N", sHintText, target);
|
||||
}
|
||||
Format(sHintText, 256, "%s\tPlayer: %N", sHintText, target);
|
||||
}
|
||||
|
||||
PrintHintText(client, sHintText);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user