Skip to content

Commit

Permalink
Fix specs do not see all features
Browse files Browse the repository at this point in the history
  • Loading branch information
zerver committed Aug 16, 2010
1 parent a6c5464 commit 9720c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rendering/FeatureDrawer.cpp
Expand Up @@ -248,7 +248,7 @@ void CFeatureDrawer::DrawOpaqueFeatures(int modelType)
bool CFeatureDrawer::DrawFeatureNow(const CFeature* feature)
{
if (!camera->InView(feature->pos, feature->radius * 4.0f)) { return false; }
if (!feature->IsInLosForAllyTeam(gu->myAllyTeam)) { return false; }
if (!feature->IsInLosForAllyTeam(gu->myAllyTeam) && !gu->spectatingFullView) { return false; }

glPushMatrix();
glMultMatrixf(feature->transMatrix.m);
Expand Down

0 comments on commit 9720c7c

Please sign in to comment.