mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-13 03:44:05 +02:00
Check value of decorations_enable in graphics_LCRY
This commit is contained in:
committed by
Simon Robertshaw
parent
4c2f8d56f1
commit
769b26ea7e
@@ -359,7 +359,7 @@ int graphics_LCRY(GRAPHICS_FUNC_ARGS)
|
|||||||
*colr += lifemod;
|
*colr += lifemod;
|
||||||
*colg += lifemod;
|
*colg += lifemod;
|
||||||
*colb += lifemod;
|
*colb += lifemod;
|
||||||
if(cpart->dcolour && cpart->dcolour&0xFF000000)
|
if(decorations_enable && cpart->dcolour && cpart->dcolour&0xFF000000)
|
||||||
{
|
{
|
||||||
lifemod *= 2.5f;
|
lifemod *= 2.5f;
|
||||||
if(lifemod < 40)
|
if(lifemod < 40)
|
||||||
|
Reference in New Issue
Block a user