diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-24 04:42:54 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-24 04:45:40 (GMT) |
| commit | 6b1e99a73169550e8bcb4c29ff105dde83924cea (patch) | |
| tree | b407cb73874392e46803b23523430fa95cf62a9d /src/simulation/Simulation.cpp | |
| parent | 20d8eff7f526aa91997ec09266374d14775607ef (diff) | |
| download | powder-6b1e99a73169550e8bcb4c29ff105dde83924cea.zip powder-6b1e99a73169550e8bcb4c29ff105dde83924cea.tar.gz | |
allow ACEL and DCEL strength to be modified with ctype
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 3ebd723..71e569e 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -3092,6 +3092,12 @@ int Simulation::create_part(int p, int x, int y, int tv) 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) { |
