diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-12 18:29:10 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-12 18:29:10 (GMT) |
| commit | dd041d169932f4491e8c76441bf2ab6200a2b9c1 (patch) | |
| tree | 6617bd5aed676bbc3c1785337dd39fdbe9c426f3 /src/simulation/Simulation.cpp | |
| parent | 780682c22d6215e655d53c0adb167d9064947928 (diff) | |
| download | powder-dd041d169932f4491e8c76441bf2ab6200a2b9c1.zip powder-dd041d169932f4491e8c76441bf2ab6200a2b9c1.tar.gz | |
TPT: GPMP activated at draw
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 3aea9c4..70fab9c 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -2608,7 +2608,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat parts[i].tmp = 10; if (t==PT_BRAY) parts[i].life = 30; - if (t==PT_PUMP) + if (t==PT_PUMP || t==PT_GPMP) parts[i].life= 10; if (t==PT_SING) parts[i].life = rand()%50+60; |
