summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-10-10 20:27:36 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-10 20:27:36 (GMT)
commit0b09d2e0f3261c5db41136315df070673780553d (patch)
tree8df8df5856ca23d41ce58389f0d216e2cd960652 /src/simulation/Simulation.cpp
parentda07c22ee457899236c8c6d457696daa019fd07e (diff)
downloadpowder-0b09d2e0f3261c5db41136315df070673780553d.zip
powder-0b09d2e0f3261c5db41136315df070673780553d.tar.gz
Allow TSNS and DTEC to detect photons and other energy particles. Set default TSNS radius to 1 to make it easier to avoid detecting the wire connections
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index 023d90c..c87f16a 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -2933,7 +2933,7 @@ int Simulation::create_part(int p, int x, int y, int tv)
case PT_DTEC:
parts[i].tmp2 = 2;
case PT_TSNS:
- parts[i].tmp2 = 2;
+ parts[i].tmp2 = 1;
break;
default:
if (t==PT_FIGH)