Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 28, 2007, 2:08:47 AM (17 years ago)
Author:
stefalie
Message:

blink: another small cleanup commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blink/src/world_entities/effects/billboard.cc

    r10426 r10431  
    152152  // changes the color of the texture (if any is set)
    153153  if(this->texColor != NULL)
    154     glColor4ub((GLubyte)this->texColor->r()*255, (GLubyte)this->texColor->g()*255, (GLubyte)this->texColor->b()*255, 255);
     154    glColor4ub((GLubyte)this->texColor->r()*255, (GLubyte)this->texColor->g()*255, (GLubyte)this->texColor->b()*255, (GLubyte)(this->texColor->a()*255));
    155155
    156156  glBegin(GL_QUADS);
Note: See TracChangeset for help on using the changeset viewer.