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

@ -144,7 +144,7 @@ void CNpcSmallJellyfish2BackgroundEnemy::collidedWith( CThing *_thisThing )
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
CVECTOR CNpcSmallJellyfish2BackgroundEnemy::getRGB()
u32 CNpcSmallJellyfish2BackgroundEnemy::getRGB()
{
CVECTOR rgb;
@ -152,5 +152,8 @@ CVECTOR CNpcSmallJellyfish2BackgroundEnemy::getRGB()
rgb.g = 128;
rgb.b = 255;
return( rgb );
u32 rgbVal;
rgbVal = rgb.r + ( rgb.g << 8 ) + ( rgb.b << 16 );
return( rgbVal );
}