From fb6f36907f3fc2169916b72c572637ee07ec44d8 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 21 Aug 2012 14:58:23 +0100 Subject: [PATCH] PPIP glowing brick in fire mode --- src/simulation/elements/BRCK.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/simulation/elements/BRCK.cpp b/src/simulation/elements/BRCK.cpp index 6afcdb51f..6769aa31a 100644 --- a/src/simulation/elements/BRCK.cpp +++ b/src/simulation/elements/BRCK.cpp @@ -51,8 +51,13 @@ int Element_BRCK::graphics(GRAPHICS_FUNC_ARGS) { if (cpart->tmp == 1) { - *pixel_mode |= PMODE_GLOW; + *pixel_mode |= FIRE_ADD; *colb += 100; + + *firea = 40; + *firer = *colr; + *fireg = *colg; + *fireb = *colb; } return 0; }