From 258c1f27c82be8e4635ca26a7722780a7b789517 Mon Sep 17 00:00:00 2001 From: tankefugl Date: Sat, 15 Apr 2006 02:24:56 +0000 Subject: [PATCH] O Aliens now see the real marine structure health regardless of their build/recycle status. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@388 67975925-1194-0748-b3d5-c16f83f1a3a1 --- releases/3.2.0/source/mod/AvHHudRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/3.2.0/source/mod/AvHHudRender.cpp b/releases/3.2.0/source/mod/AvHHudRender.cpp index feab40ed..49f8ee46 100644 --- a/releases/3.2.0/source/mod/AvHHudRender.cpp +++ b/releases/3.2.0/source/mod/AvHHudRender.cpp @@ -2501,7 +2501,7 @@ void AvHHud::DrawBuildHealthEffectsForEntity(int inEntityIndex, float inAlpha) int theSpriteToUse = this->GetIsAlien() ? this->mAlienHealthSprite : this->mMarineHealthSprite; bool theDrawAsRecyling = (GetHasUpgrade(theUser4, MASK_RECYCLING) && theIsOnOurTeam); - if((theIsBuilding && (GetHasUpgrade(theUser4, MASK_BUILDABLE))) || theDrawAsRecyling) + if((theIsOnOurTeam && theIsBuilding && (GetHasUpgrade(theUser4, MASK_BUILDABLE))) || theDrawAsRecyling) { theSpriteToUse = this->GetIsAlien() ? this->mAlienBuildSprite : this->mMarineBuildSprite; theDrawHealth = false;