summaryrefslogtreecommitdiff
path: root/src/simulation/elements/GRAV.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/GRAV.cpp')
-rw-r--r--src/simulation/elements/GRAV.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/simulation/elements/GRAV.cpp b/src/simulation/elements/GRAV.cpp
index b913a28..144ba94 100644
--- a/src/simulation/elements/GRAV.cpp
+++ b/src/simulation/elements/GRAV.cpp
@@ -42,25 +42,9 @@ Element_GRAV::Element_GRAV()
HighTemperature = ITH;
HighTemperatureTransition = NT;
- Update = &Element_GRAV::update;
+ Update = NULL;
Graphics = &Element_GRAV::graphics;
}
-
-//#TPT-Directive ElementHeader Element_GRAV static int update(UPDATE_FUNC_ARGS)
-int Element_GRAV::update(UPDATE_FUNC_ARGS)
- {
- /*int t = parts[i].type;
- if (t==PT_LOVE)
- ISLOVE=1;
- else if (t==PT_LOLZ)
- ISLOLZ=1;
- else if (t==PT_GRAV)
- ISGRAV=1;*/
- return 0;
-}
-
-int lastIndex;
-
//#TPT-Directive ElementHeader Element_GRAV static int graphics(GRAPHICS_FUNC_ARGS)
int Element_GRAV::graphics(GRAPHICS_FUNC_ARGS)
@@ -108,4 +92,4 @@ int Element_GRAV::graphics(GRAPHICS_FUNC_ARGS)
}
-Element_GRAV::~Element_GRAV() {} \ No newline at end of file
+Element_GRAV::~Element_GRAV() {}