diff options
Diffstat (limited to 'src/simulation/elements/BRCK.cpp')
| -rw-r--r-- | src/simulation/elements/BRCK.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/simulation/elements/BRCK.cpp b/src/simulation/elements/BRCK.cpp index b730418..6afcdb5 100644 --- a/src/simulation/elements/BRCK.cpp +++ b/src/simulation/elements/BRCK.cpp @@ -43,7 +43,18 @@ Element_BRCK::Element_BRCK() HighTemperatureTransition = PT_LAVA; Update = NULL; - + Graphics = &Element_BRCK::graphics; +} + +//#TPT-Directive ElementHeader Element_BRCK static int graphics(GRAPHICS_FUNC_ARGS) +int Element_BRCK::graphics(GRAPHICS_FUNC_ARGS) +{ + if (cpart->tmp == 1) + { + *pixel_mode |= PMODE_GLOW; + *colb += 100; + } + return 0; } Element_BRCK::~Element_BRCK() {}
\ No newline at end of file |
