Ensure TRON head doesn't fade

This commit is contained in:
Simon Robertshaw 2012-04-18 16:06:43 +01:00
parent c0947d9fea
commit 62ecf1d87e

View File

@ -184,7 +184,7 @@ int graphics_TRON(GRAPHICS_FUNC_ARGS) {
*fireb = *colb; *fireb = *colb;
*firea = 255; *firea = 255;
} }
if(cpart->life < cpart->tmp2) if(cpart->life < cpart->tmp2 && !(cpart->tmp & TRON_HEAD))
{ {
*pixel_mode |= PMODE_BLEND; *pixel_mode |= PMODE_BLEND;
*pixel_mode &= ~PMODE_FLAT; *pixel_mode &= ~PMODE_FLAT;