This commit is contained in:
Charles 2001-05-17 20:04:57 +00:00
parent 4d00a63deb
commit b0ca39dc2c
9 changed files with 24 additions and 16 deletions

View file

@ -592,4 +592,11 @@ void CPlayerProjectile::collidedWith(CThing *_thisThing)
}
}
void CPlayerProjectile::setRGB( u32 new_RGB )
{
m_RGB.r = new_RGB & 255;
m_RGB.g = ( new_RGB >> 8 ) & 255;
m_RGB.b = ( new_RGB >> 16 ) & 255;
}
/*****************************************************************************/