Skip to content

Commit

Permalink
Don't reserve frame 0 for team colour (we use tcmask now).
Browse files Browse the repository at this point in the history
Fixes bug in animation found by Berg.
(cherry picked from commit 2a9548a)
(cherry picked from commit ecacd97)
  • Loading branch information
Safety0ff authored and vexed committed Jun 16, 2012
1 parent 2d0a089 commit b59fe8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/ivis_opengl/piedraw.cpp
Expand Up @@ -459,10 +459,6 @@ void pie_Draw3DShape(iIMDShape *shape, int frame, int team, PIELIGHT colour, int

ASSERT(frame >= 0, "Negative frame %d", frame);
ASSERT(team >= 0, "Negative team %d", team);
if (frame == 0)
{
frame = team;
}

if (drawing_interface || !shadows)
{
Expand Down

0 comments on commit b59fe8b

Please sign in to comment.