diff options
| author | jacob1 <jfu614@gmail.com> | 2012-10-04 16:35:11 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-05 15:33:12 (GMT) |
| commit | d2af4470a56265155f63cd9fe54ed3e33825fac7 (patch) | |
| tree | 4ec964e899da8bca92a3e583c426cf5f24b8de96 /src/simulation/Simulation.cpp | |
| parent | 433a80b0990380d8ae4bc8a4c264336c1f12bae5 (diff) | |
| download | powder-d2af4470a56265155f63cd9fe54ed3e33825fac7.zip powder-d2af4470a56265155f63cd9fe54ed3e33825fac7.tar.gz | |
show # of parts, [GRID X], PIPE/PPIP with X, and molten X (with debug on) in HUD
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 7ad2250..be114e1 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -439,6 +439,8 @@ SimulationSample Simulation::Get(int x, int y) sample.GravityVelocityX = gravx[(y/CELL)*(XRES/CELL)+(x/CELL)]; sample.GravityVelocityY = gravy[(y/CELL)*(XRES/CELL)+(x/CELL)]; } + + sample.NumParts = NUM_PARTS; return sample; } |
