summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-02-24 11:50:10 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-02-24 11:50:10 (GMT)
commit8dfb1ecf8756e930c45482f707d00f188ff2ce53 (patch)
tree2b83296b8ce2ef2fd8a99ac4e946014dcf35501d /src/simulation/Simulation.cpp
parent934dbe35182af9760c4c916bd99e4603a988c01d (diff)
downloadpowder-8dfb1ecf8756e930c45482f707d00f188ff2ce53.zip
powder-8dfb1ecf8756e930c45482f707d00f188ff2ce53.tar.gz
ACEL and DCEL use life for strength value
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index 71e569e..2314c5c 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -3089,15 +3089,10 @@ int Simulation::create_part(int p, int x, int y, int tv)
break;
case PT_DTEC:
parts[i].tmp2 = 2;
+ break;
case PT_TSNS:
parts[i].tmp2 = 2;
break;
- case PT_ACEL:
- parts[i].ctype = 10;
- break;
- case PT_DCEL:
- parts[i].ctype = 9;
- break;
default:
if (t==PT_FIGH)
{