diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2011-11-17 00:31:44 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-11-21 00:50:41 (GMT) |
| commit | 769b26ea7e61c8fff17ef4061f7dfd742b905671 (patch) | |
| tree | ccb2dce2235525480e6012b6a4f6db2d7952812d /src/elements | |
| parent | 4c2f8d56f148b0a02d28f061f835f39efe4273e4 (diff) | |
| download | powder-769b26ea7e61c8fff17ef4061f7dfd742b905671.zip powder-769b26ea7e61c8fff17ef4061f7dfd742b905671.tar.gz | |
Check value of decorations_enable in graphics_LCRY
Diffstat (limited to 'src/elements')
| -rw-r--r-- | src/elements/newgraphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/newgraphics.c b/src/elements/newgraphics.c index 8af0f45..c846b94 100644 --- a/src/elements/newgraphics.c +++ b/src/elements/newgraphics.c @@ -359,7 +359,7 @@ int graphics_LCRY(GRAPHICS_FUNC_ARGS) *colr += lifemod; *colg += lifemod; *colb += lifemod; - if(cpart->dcolour && cpart->dcolour&0xFF000000) + if(decorations_enable && cpart->dcolour && cpart->dcolour&0xFF000000) { lifemod *= 2.5f; if(lifemod < 40) |
