Skip to content

Commit

Permalink
Allow texture animation and tcmask to be used together.
Browse files Browse the repository at this point in the history
  • Loading branch information
perim committed Nov 10, 2010
1 parent 77fb642 commit bf4ffed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ivis_opengl/piedraw.c
Expand Up @@ -287,8 +287,8 @@ static void pie_Draw3DShape2(iIMDShape *shape, int frame, PIELIGHT colour, PIELI

polyCount++;

// Run TextureAnimation (exluding the new teamcoloured models)
if (frame && pPolys->flags & iV_IMD_TEXANIM && !(shape->flags & iV_IMD_TCMASK))
// Run TextureAnimation
if (frame && pPolys->flags & iV_IMD_TEXANIM)
{
frame %= shape->numFrames;

Expand Down

0 comments on commit bf4ffed

Please sign in to comment.