don't remder AMTR as a gas
This commit is contained in:
parent
3a76c1cadf
commit
0b0c73647a
@ -42,6 +42,7 @@ Element_AMTR::Element_AMTR()
|
|||||||
HighTemperatureTransition = NT;
|
HighTemperatureTransition = NT;
|
||||||
|
|
||||||
Update = &Element_AMTR::update;
|
Update = &Element_AMTR::update;
|
||||||
|
Graphics = &Element_AMTR::graphics;
|
||||||
}
|
}
|
||||||
|
|
||||||
//#TPT-Directive ElementHeader Element_AMTR static int update(UPDATE_FUNC_ARGS)
|
//#TPT-Directive ElementHeader Element_AMTR static int update(UPDATE_FUNC_ARGS)
|
||||||
@ -75,4 +76,12 @@ int Element_AMTR::update(UPDATE_FUNC_ARGS)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//#TPT-Directive ElementHeader Element_AMTR static int graphics(GRAPHICS_FUNC_ARGS)
|
||||||
|
int Element_AMTR::graphics(GRAPHICS_FUNC_ARGS)
|
||||||
|
{
|
||||||
|
// don't render AMTR as a gas
|
||||||
|
// this function just overrides the default graphics
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
Element_AMTR::~Element_AMTR() {}
|
Element_AMTR::~Element_AMTR() {}
|
||||||
|
Reference in New Issue
Block a user