This commit is contained in:
parent
4d00a63deb
commit
b0ca39dc2c
9 changed files with 24 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue