Skip to content

Commit

Permalink
don't remder AMTR as a gas
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Mar 12, 2016
1 parent 3a76c1c commit 0b0c736
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/simulation/elements/AMTR.cpp
Expand Up @@ -42,6 +42,7 @@ Element_AMTR::Element_AMTR()
HighTemperatureTransition = NT;

Update = &Element_AMTR::update;
Graphics = &Element_AMTR::graphics;
}

//#TPT-Directive ElementHeader Element_AMTR static int update(UPDATE_FUNC_ARGS)
Expand Down Expand Up @@ -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() {}

0 comments on commit 0b0c736

Please sign in to comment.