- FScanner::Float is a double so there's no need to cast values to float before assigning them to this variable.

SVN r2865 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-29 07:25:14 +00:00
commit 5be9729872
2 changed files with 3 additions and 15 deletions

View file

@ -868,18 +868,6 @@ void AM_initVariables ()
old_m_h = m_h;
}
/*
static void GetComponents (int color, DWORD *palette, float &r, float &g, float &b)
{
if (palette)
color = palette[color];
r = (float)RPART(color);
g = (float)GPART(color);
b = (float)BPART(color);
}
*/
//=============================================================================
//
//