diff options
| author | jacob1 <jfu614@gmail.com> | 2013-10-26 16:10:10 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-10-26 16:10:10 (GMT) |
| commit | a4da2566ecf3802f0dfdf7fc2ddba58ede246025 (patch) | |
| tree | d62f43aab33bf577826b7c9fe39d42a3e00344a3 /src/simulation/elements/VRSS.cpp | |
| parent | 48ecbce554a8ec33daefd7b1e84b31f8e199f186 (diff) | |
| download | powder-a4da2566ecf3802f0dfdf7fc2ddba58ede246025.zip powder-a4da2566ecf3802f0dfdf7fc2ddba58ede246025.tar.gz | |
fix virus graphics
Diffstat (limited to 'src/simulation/elements/VRSS.cpp')
| -rw-r--r-- | src/simulation/elements/VRSS.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/simulation/elements/VRSS.cpp b/src/simulation/elements/VRSS.cpp index 808fc93..3bfb529 100644 --- a/src/simulation/elements/VRSS.cpp +++ b/src/simulation/elements/VRSS.cpp @@ -43,7 +43,14 @@ Element_VRSS::Element_VRSS() HighTemperatureTransition = PT_VIRS; Update = &Element_VIRS::update; - Graphics = &Element_VIRS::graphics; + Graphics = &Element_VRSS::graphics; +} + +//#TPT-Directive ElementHeader Element_VRSS static int graphics(GRAPHICS_FUNC_ARGS) +int Element_VRSS::graphics(GRAPHICS_FUNC_ARGS) +{ + *pixel_mode |= NO_DECO; + return 1; } Element_VRSS::~Element_VRSS() {} |
