summaryrefslogtreecommitdiff
path: root/src/simulation/elements/LOVE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/LOVE.cpp')
-rw-r--r--src/simulation/elements/LOVE.cpp11
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