diff options
| author | jacob1 <jfu614@gmail.com> | 2013-03-03 21:36:37 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-03-03 21:36:37 (GMT) |
| commit | 8b83ae9f95210ab3d540c985f82bc344786c3b85 (patch) | |
| tree | 9e4b48e5425003611204910a525c1956bcb0b633 /src/simulation/Simulation.cpp | |
| parent | cca1898ee8c2091833661f97748defb298cc77b9 (diff) | |
| download | powder-8b83ae9f95210ab3d540c985f82bc344786c3b85.zip powder-8b83ae9f95210ab3d540c985f82bc344786c3b85.tar.gz | |
PSTN ctype sets the element that stops it, FRME with a tmp of one is non-sticky (doesn't pull)
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index ef3c3d9..409fc4a 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -2849,10 +2849,10 @@ int Simulation::create_part(int p, int x, int y, int tv) parts[pmap[y][x]>>8].ctype = t; if (t == PT_LIFE && v < NGOLALT && drawOn != PT_STOR) parts[pmap[y][x]>>8].tmp = v; } - else if (drawOn == PT_DTEC && drawOn != t) + else if ((drawOn == PT_DTEC || (drawOn == PT_PSTN && t != PT_FRME)) && drawOn != t) { parts[pmap[y][x]>>8].ctype = t; - if (t==PT_LIFE && v<NGOLALT) + if (drawOn == PT_DTEC && t==PT_LIFE && v<NGOLALT) parts[pmap[y][x]>>8].tmp = v; } else if (drawOn == PT_CRAY && drawOn != t && drawOn != PT_PSCN && drawOn != PT_INST && drawOn != PT_METL) |
