summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-21 13:58:23 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-21 13:58:23 (GMT)
commitfb6f36907f3fc2169916b72c572637ee07ec44d8 (patch)
tree749a99b9ed94ede392574002de67f9cf5a9ddd03 /src/simulation/elements
parent62f067d29ded06fe0ac14c026ae6236549ba21cc (diff)
downloadpowder-fb6f36907f3fc2169916b72c572637ee07ec44d8.zip
powder-fb6f36907f3fc2169916b72c572637ee07ec44d8.tar.gz
PPIP glowing brick in fire mode
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/BRCK.cpp7
1 files changed, 6 insertions, 1 deletions
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;
}