Permalink
Browse files

Remove extraneous () for comparing altShader conditions

  • Loading branch information...
DolceTriade committed Dec 27, 2015
1 parent 69d60e0 commit 22cab44d08552f52a8aff0159c28cd7268148776
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/cgame/cg_buildable.cpp
@@ -2574,11 +2574,11 @@ void CG_Buildable( centity_t *cent )
{
ent.altShaderIndex = CG_ALTSHADER_UNPOWERED;
}
else if ( ( cent->buildableAnim == BANIM_IDLE1 ) )
else if ( cent->buildableAnim == BANIM_IDLE1 )
{
ent.altShaderIndex = CG_ALTSHADER_IDLE;
}
else if ( ( cent->buildableAnim == BANIM_IDLE2 ) )
else if ( cent->buildableAnim == BANIM_IDLE2 )
{
ent.altShaderIndex = CG_ALTSHADER_IDLE2;
}

0 comments on commit 22cab44

Please sign in to comment.