Skip to content

Commit

Permalink
Change AMTR and MORT to TYPE_GAS, and THDR to TYPE_ENERGY
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Dec 18, 2015
1 parent 76aeef2 commit d2807cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/simulation/elements/AMTR.cpp
Expand Up @@ -31,7 +31,7 @@ Element_AMTR::Element_AMTR()
Description = "Anti-Matter, destroys a majority of particles.";

State = ST_NONE;
Properties = TYPE_PART;
Properties = TYPE_GAS;

LowPressure = IPL;
LowPressureTransition = NT;
Expand All @@ -48,8 +48,8 @@ Element_AMTR::Element_AMTR()

//#TPT-Directive ElementHeader Element_AMTR static int update(UPDATE_FUNC_ARGS)
int Element_AMTR::update(UPDATE_FUNC_ARGS)
{
int r, rx, ry, rt;
{
int r, rx, ry, rt;
for (rx=-1; rx<2; rx++)
for (ry=-1; ry<2; ry++)
if (BOUNDS_CHECK && (rx || ry))
Expand Down
4 changes: 2 additions & 2 deletions src/simulation/elements/MORT.cpp
Expand Up @@ -31,7 +31,7 @@ Element_MORT::Element_MORT()
Description = "Steam Train.";

State = ST_NONE;
Properties = TYPE_PART;
Properties = TYPE_GAS;

LowPressure = IPL;
LowPressureTransition = NT;
Expand All @@ -48,7 +48,7 @@ Element_MORT::Element_MORT()

//#TPT-Directive ElementHeader Element_MORT static int update(UPDATE_FUNC_ARGS)
int Element_MORT::update(UPDATE_FUNC_ARGS)
{
{
sim->create_part(-1, x, y-1, PT_SMKE);
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/simulation/elements/THDR.cpp
Expand Up @@ -31,7 +31,7 @@ Element_THDR::Element_THDR()
Description = "Lightning! Very hot, inflicts damage upon most materials, and transfers current to metals.";

State = ST_NONE;
Properties = TYPE_PART;
Properties = TYPE_ENERGY;

LowPressure = IPL;
LowPressureTransition = NT;
Expand Down

0 comments on commit d2807cb

Please sign in to comment.