From 62ecf1d87e40f2aed0af0a4838f9680fcf81e47d Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Wed, 18 Apr 2012 16:06:43 +0100 Subject: [PATCH] Ensure TRON head doesn't fade --- src/elements/tron.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/tron.c b/src/elements/tron.c index 90b75fd80..df8fbe370 100644 --- a/src/elements/tron.c +++ b/src/elements/tron.c @@ -184,7 +184,7 @@ int graphics_TRON(GRAPHICS_FUNC_ARGS) { *fireb = *colb; *firea = 255; } - if(cpart->life < cpart->tmp2) + if(cpart->life < cpart->tmp2 && !(cpart->tmp & TRON_HEAD)) { *pixel_mode |= PMODE_BLEND; *pixel_mode &= ~PMODE_FLAT;