diff --git a/src/simulation/elements/AMTR.cpp b/src/simulation/elements/AMTR.cpp index f62670ebc..6f8af0253 100644 --- a/src/simulation/elements/AMTR.cpp +++ b/src/simulation/elements/AMTR.cpp @@ -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; @@ -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)) diff --git a/src/simulation/elements/MORT.cpp b/src/simulation/elements/MORT.cpp index e5ef6eac6..b34b11bf0 100644 --- a/src/simulation/elements/MORT.cpp +++ b/src/simulation/elements/MORT.cpp @@ -31,7 +31,7 @@ Element_MORT::Element_MORT() Description = "Steam Train."; State = ST_NONE; - Properties = TYPE_PART; + Properties = TYPE_GAS; LowPressure = IPL; LowPressureTransition = NT; @@ -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; } diff --git a/src/simulation/elements/THDR.cpp b/src/simulation/elements/THDR.cpp index 507db2df8..ba9e32c99 100644 --- a/src/simulation/elements/THDR.cpp +++ b/src/simulation/elements/THDR.cpp @@ -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;