diff options
| author | jacob1 <jfu614@gmail.com> | 2012-12-18 02:11:33 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2012-12-18 02:11:33 (GMT) |
| commit | b5de23433d6da22552a7927b5f70d2555af3ad38 (patch) | |
| tree | 3d38f437df87678bdcc61625828390c6b6472497 /src/simulation/elements/LOVE.cpp | |
| parent | f68cded2d2bd35989c5d81e710293ca2c96be36e (diff) | |
| download | powder-b5de23433d6da22552a7927b5f70d2555af3ad38.zip powder-b5de23433d6da22552a7927b5f70d2555af3ad38.tar.gz | |
fix '=' resetting air heat, fix uninitialized ambient heat setting, a few LOLZ / LOVE changes
Diffstat (limited to 'src/simulation/elements/LOVE.cpp')
| -rw-r--r-- | src/simulation/elements/LOVE.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/simulation/elements/LOVE.cpp b/src/simulation/elements/LOVE.cpp index 3e7b3d4..c5ce789 100644 --- a/src/simulation/elements/LOVE.cpp +++ b/src/simulation/elements/LOVE.cpp @@ -42,8 +42,6 @@ Element_LOVE::Element_LOVE() HighTemperature = ITH; HighTemperatureTransition = NT; - Update = &Element_LOVE::update; - } //#TPT-Directive ElementHeader Element_LOVE static int RuleTable[9][9] @@ -60,12 +58,7 @@ int Element_LOVE::RuleTable[9][9] = {0,0,1,1,0,0,0,0,0}, }; -//#TPT-Directive ElementHeader Element_LOVE static int update(UPDATE_FUNC_ARGS) -int Element_LOVE::update(UPDATE_FUNC_ARGS) - { - sim->ISLOVE = true; - return 0; -} - +//#TPT-Directive ElementHeader Element_LOVE static int love[XRES/9][YRES/9]; +int Element_LOVE::love[XRES/9][YRES/9]; Element_LOVE::~Element_LOVE() {}
\ No newline at end of file |
