diff --git a/scripting/shavit-hud.sp b/scripting/shavit-hud.sp index 3adcf725..23a9f2b8 100644 --- a/scripting/shavit-hud.sp +++ b/scripting/shavit-hud.sp @@ -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: Forwards":"#B54CB3'>Sideways"); - if(!bSpectating) - { - Format(sHintText, 256, "%s\tPlayer: %N", sHintText, target); - } + Format(sHintText, 256, "%s\tPlayer: %N", sHintText, target); Format(sHintText, 256, "%s", 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);