diff options
| author | jacob1 <jfu614@gmail.com> | 2013-03-03 21:36:37 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-03-03 21:36:37 (GMT) |
| commit | 8b83ae9f95210ab3d540c985f82bc344786c3b85 (patch) | |
| tree | 9e4b48e5425003611204910a525c1956bcb0b633 /src/simulation/elements/FRME.cpp | |
| parent | cca1898ee8c2091833661f97748defb298cc77b9 (diff) | |
| download | powder-8b83ae9f95210ab3d540c985f82bc344786c3b85.zip powder-8b83ae9f95210ab3d540c985f82bc344786c3b85.tar.gz | |
PSTN ctype sets the element that stops it, FRME with a tmp of one is non-sticky (doesn't pull)
Diffstat (limited to 'src/simulation/elements/FRME.cpp')
| -rw-r--r-- | src/simulation/elements/FRME.cpp | 7 |
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; } |
