diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-30 00:50:18 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-30 00:50:18 (GMT) |
| commit | a9fba97c3632a69b359c5fccbdc5ba71ceb814b5 (patch) | |
| tree | 4769fd5e2ec6362e0790410f2919ef10f8896c90 /src/simulation/Simulation.cpp | |
| parent | 6dbcd3cc5980f06496a8f2e0f15245d08b150a60 (diff) | |
| download | powder-a9fba97c3632a69b359c5fccbdc5ba71ceb814b5.zip powder-a9fba97c3632a69b359c5fccbdc5ba71ceb814b5.tar.gz | |
Fix streamline placement
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 ea500f5..a2585fd 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -1322,8 +1322,8 @@ int Simulation::CreateWalls(int x, int y, int rx, int ry, int c, int flags, Brus } if (b==WL_STREAM) { - i = x + rx/2; - j = y + ry/2; + i = x + rx;///2; + j = y + ry;///2; for (v=-1; v<2; v++) for (u=-1; u<2; u++) if (i+u>=0 && i+u<XRES/CELL && |
