mirror of
https://github.com/ENSL/NS.git
synced 2024-11-21 20:21:14 +00:00
fix health rings showing on the gorge being spectated while dead
This commit is contained in:
parent
c2df0b2715
commit
bebb696e50
1 changed files with 1 additions and 1 deletions
|
@ -2533,7 +2533,7 @@ void AvHHud::DrawBuildHealthEffectsForEntity(int inEntityIndex, float inAlpha)
|
|||
{
|
||||
const int kDrawEnemyBuildingDistance = 200;
|
||||
bool healthLowEnough = theHealthPercentage < (CVAR_GET_FLOAT("hud_teamhealthalert") * 0.01f);
|
||||
bool isSpectating = this->GetPlayMode() == PLAYMODE_AWAITINGREINFORCEMENT || this->GetPlayMode() == PLAYMODE_OBSERVER;
|
||||
bool isSpectating = (this->GetPlayMode() == PLAYMODE_AWAITINGREINFORCEMENT || this->GetPlayMode() == PLAYMODE_REINFORCING || this->GetPlayMode() == PLAYMODE_OBSERVER);
|
||||
bool theEntityIsSpecTarget = inEntityIndex == theLocalPlayer->curstate.iuser2;
|
||||
|
||||
// Draw effects if we are in top-down mode OR
|
||||
|
|
Loading…
Reference in a new issue