TPT: Fix glow for deut at ligh 4d45bbedb3

This commit is contained in:
Simon Robertshaw 2012-04-18 19:12:24 +01:00
parent c5a8615e89
commit 95c702535c
2 changed files with 10 additions and 8 deletions

View File

@ -77,10 +77,11 @@ int graphics_DEUT(GRAPHICS_FUNC_ARGS)
{
if(cpart->life>=700)
{
*colr += cpart->life*1;
*colg += cpart->life*2;
*colb += cpart->life*3;
*pixel_mode |= PMODE_GLOW;
*firea = 60;
*firer = *colr += cpart->life*1;
*fireg = *colg += cpart->life*2;
*fireb = *colb += cpart->life*3;
*pixel_mode |= PMODE_GLOW | FIRE_ADD;
}
else
{

View File

@ -287,9 +287,10 @@ int update_LIGH(UPDATE_FUNC_ARGS)
}
int graphics_LIGH(GRAPHICS_FUNC_ARGS)
{
*colr = 235;
*colg = 245;
*colb = 255;
*pixel_mode |= PMODE_GLOW;
*firea = 120;
*firer = *colr = 235;
*fireg = *colg = 245;
*fireb = *colb = 255;
*pixel_mode |= PMODE_GLOW | FIRE_ADD;
return 1;
}