diff options
| author | jacob1 <jfu614@gmail.com> | 2012-12-13 03:05:39 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2012-12-13 03:05:39 (GMT) |
| commit | 002743ef085b21789e02505c30d5186c043d92b5 (patch) | |
| tree | f58eb98d0109db572ee4c16f992bf8348d7ae959 /src/simulation/Simulation.cpp | |
| parent | d57fe7618c5b74576ba87a395c2bd9e1d6cc3fc9 (diff) | |
| download | powder-002743ef085b21789e02505c30d5186c043d92b5.zip powder-002743ef085b21789e02505c30d5186c043d92b5.tar.gz | |
make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before
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 1f19a62..f95a451 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -4320,7 +4320,7 @@ killed: kill_part(i); continue; } - if (!(parts[i].ctype&0x3FFFFFFF)&&t!=PT_NEUT&&t!=PT_ELEC) { + if (!(parts[i].ctype&0x3FFFFFFF) && t == PT_PHOT) { kill_part(i); continue; } |
