From dd041d169932f4491e8c76441bf2ab6200a2b9c1 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 12 Jun 2012 19:29:10 +0100 Subject: TPT: GPMP activated at draw 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; -- cgit v0.9.2-21-gd62e