summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-18 15:06:43 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-18 15:06:43 (GMT)
commit62ecf1d87e40f2aed0af0a4838f9680fcf81e47d (patch)
tree90bc2f3c6e8b05a9d85bd58b459cb3a391c60089 /src
parentc0947d9fea1e94261a0d65d474b2f476e9bec30a (diff)
downloadpowder-62ecf1d87e40f2aed0af0a4838f9680fcf81e47d.zip
powder-62ecf1d87e40f2aed0af0a4838f9680fcf81e47d.tar.gz
Ensure TRON head doesn't fade
Diffstat (limited to 'src')
-rw-r--r--src/elements/tron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/tron.c b/src/elements/tron.c
index 90b75fd..df8fbe3 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;