Fix bad 0C constant in GLOW.cpp

This commit is contained in:
jacob1 2023-08-31 13:03:25 -04:00
parent e09b125981
commit 46730cfc26
No known key found for this signature in database
GPG Key ID: 4E58A32D510E1995

View File

@ -78,12 +78,12 @@ static int update(UPDATE_FUNC_ARGS)
static int graphics(GRAPHICS_FUNC_ARGS)
{
*firer = 16+int(restrict_flt(cpart->temp-(275.13f+32.0f), 0, 128)/2.0f);
*firer = 16+int(restrict_flt(cpart->temp-(273.15f+34.0f), 0, 128)/2.0f);
*fireg = 16+int(restrict_flt(float(cpart->ctype), 0, 128)/2.0f);
*fireb = 16+int(restrict_flt(float(cpart->tmp), 0, 128)/2.0f);
*firea = 64;
*colr = int(restrict_flt(64.0f+cpart->temp-(275.13f+32.0f), 0, 255));
*colr = int(restrict_flt(64.0f+cpart->temp-(273.15f+34.0f), 0, 255));
*colg = int(restrict_flt(64.0f+cpart->ctype, 0, 255));
*colb = int(restrict_flt(64.0f+cpart->tmp, 0, 255));