diff options
| author | cracker64 <cracker642@gmail.com> | 2013-02-28 05:40:36 (GMT) |
|---|---|---|
| committer | cracker64 <cracker642@gmail.com> | 2013-02-28 05:40:36 (GMT) |
| commit | c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2 (patch) | |
| tree | 90744a56bc618c12aab5ef617445b283ce2d6d57 /src/simulation/elements/WARP.cpp | |
| parent | 08d1a68ce091b6ba53788224fd1bda92c1895ca6 (diff) | |
| download | powder-c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2.zip powder-c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2.tar.gz | |
Finished first pass-through for all elements.
Will get a few more places later.
Diffstat (limited to 'src/simulation/elements/WARP.cpp')
| -rw-r--r-- | src/simulation/elements/WARP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/WARP.cpp b/src/simulation/elements/WARP.cpp index 5dd19c5..312e2e6 100644 --- a/src/simulation/elements/WARP.cpp +++ b/src/simulation/elements/WARP.cpp @@ -54,7 +54,7 @@ int Element_WARP::update(UPDATE_FUNC_ARGS) { parts[i].temp = 10000; sim->pv[y/CELL][x/CELL] += (parts[i].tmp2/5000) * CFDS; - if (2>rand()%100) + if (!(rand()%50)) sim->create_part(-3, x, y, PT_ELEC); } for ( trade = 0; trade<5; trade ++) |
