From fb6f36907f3fc2169916b72c572637ee07ec44d8 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 21 Aug 2012 14:58:23 +0100 Subject: PPIP glowing brick in fire mode diff --git a/src/simulation/elements/BRCK.cpp b/src/simulation/elements/BRCK.cpp index 6afcdb5..6769aa3 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; } -- cgit v0.9.2-21-gd62e