mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-08 00:14:00 +02:00
Check value of decorations_enable in graphics_LCRY
This commit is contained in:
parent
4c2f8d56f1
commit
769b26ea7e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user