diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-01-20 14:34:07 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-01-20 14:34:07 (GMT) |
| commit | 87d6553413b9b69f81caf702fed7b1be523950bb (patch) | |
| tree | f388fd92af500b8922fa933ec497bb9c5be32a42 /src/simulation/Simulation.cpp | |
| parent | 226a85a18dfaddb29031d428ac11561136f28c66 (diff) | |
| download | powder-87d6553413b9b69f81caf702fed7b1be523950bb.zip powder-87d6553413b9b69f81caf702fed7b1be523950bb.tar.gz | |
C-RAY: Similar to A-RAY, creates particles
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 9826670..8eb3094 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -2816,10 +2816,11 @@ int Simulation::create_part(int p, int x, int y, int tv) drawOn==PT_CLNE || drawOn==PT_BCLN || drawOn==PT_CONV || + drawOn==PT_CRAY || (drawOn==PT_PCLN&&t!=PT_PSCN&&t!=PT_NSCN) || (drawOn==PT_PBCN&&t!=PT_PSCN&&t!=PT_NSCN) )&&( - t != PT_CLNE && t != PT_PCLN && t != PT_BCLN && t != PT_STKM && t != PT_STKM2 && t != PT_PBCN && t != PT_STOR && t != PT_FIGH && t != PT_CONV) + t != PT_CLNE && t != PT_CRAY && t != PT_PCLN && t != PT_BCLN && t != PT_STKM && t != PT_STKM2 && t != PT_PBCN && t != PT_STOR && t != PT_FIGH && t != PT_CONV) ) { parts[pmap[y][x]>>8].ctype = t; |
