From 07f390901a2a92cea3dd8ef2f8fbd149ccd03df1 Mon Sep 17 00:00:00 2001 From: Shavitush Date: Wed, 19 Aug 2015 03:31:10 +0300 Subject: [PATCH] never used bSpectating anyways --- scripting/shavit-hud.sp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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);