summaryrefslogtreecommitdiff
path: root/src/simulation/elements/FRME.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/FRME.cpp')
-rw-r--r--src/simulation/elements/FRME.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/simulation/elements/FRME.cpp b/src/simulation/elements/FRME.cpp
index 6fb4119..54a00b0 100644
--- a/src/simulation/elements/FRME.cpp
+++ b/src/simulation/elements/FRME.cpp
@@ -48,10 +48,11 @@ Element_FRME::Element_FRME()
//#TPT-Directive ElementHeader Element_FRME static int graphics(GRAPHICS_FUNC_ARGS)
int Element_FRME::graphics(GRAPHICS_FUNC_ARGS)
{
- if(cpart->ctype)
+ if(cpart->tmp)
{
- *colr -= 60;
- *colg -= 60;
+ *colr += 30;
+ *colg += 30;
+ *colb += 30;
}
return 0;
}