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) if(cpart->life>=700)
{ {
*colr += cpart->life*1; *firea = 60;
*colg += cpart->life*2; *firer = *colr += cpart->life*1;
*colb += cpart->life*3; *fireg = *colg += cpart->life*2;
*pixel_mode |= PMODE_GLOW; *fireb = *colb += cpart->life*3;
*pixel_mode |= PMODE_GLOW | FIRE_ADD;
} }
else else
{ {

View File

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