summaryrefslogtreecommitdiff
path: root/src/simulation/elements/FRME.cpp
diff options
context:
space:
mode:
authorcracker64 <cracker642@gmail.com>2013-03-03 22:08:36 (GMT)
committer cracker64 <cracker642@gmail.com>2013-03-03 22:08:36 (GMT)
commitde6bb6a960f8b02df9c01d9b3cbd5650147b23a0 (patch)
tree300d6539ae79230efbb248ead68f982501e7d6ff /src/simulation/elements/FRME.cpp
parent2be0b222111240cca189288a6a6da2141c5a8a2f (diff)
parent8b83ae9f95210ab3d540c985f82bc344786c3b85 (diff)
downloadpowder-de6bb6a960f8b02df9c01d9b3cbd5650147b23a0.zip
powder-de6bb6a960f8b02df9c01d9b3cbd5650147b23a0.tar.gz
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
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;
}