diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-10-26 23:52:10 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-10-26 23:56:02 (GMT) |
| commit | caf262ed60f6c7d7dfc1fa41c1c0a771484792ab (patch) | |
| tree | a1b0f3e1627a42e5a70d9dbcf1ea5e4f824fd743 /src/simulation/elements/SPNG.cpp | |
| parent | 9a0ca32372f4386c5929dde2ff824c28d8e71d1c (diff) | |
| download | powder-caf262ed60f6c7d7dfc1fa41c1c0a771484792ab.zip powder-caf262ed60f6c7d7dfc1fa41c1c0a771484792ab.tar.gz | |
Decrease absorption chance for SPNG, to make release of water from saturated SPNG look a bit less strange
Diffstat (limited to 'src/simulation/elements/SPNG.cpp')
| -rw-r--r-- | src/simulation/elements/SPNG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/SPNG.cpp b/src/simulation/elements/SPNG.cpp index 37f5a08..95dd12f 100644 --- a/src/simulation/elements/SPNG.cpp +++ b/src/simulation/elements/SPNG.cpp @@ -53,7 +53,7 @@ int Element_SPNG::update(UPDATE_FUNC_ARGS) int limit = 50; if (parts[i].life<limit && sim->pv[y/CELL][x/CELL]<=3&&sim->pv[y/CELL][x/CELL]>=-3&&parts[i].temp<=374.0f) { - int absorbChanceDenom = parts[i].life*1000/limit + 500; + int absorbChanceDenom = parts[i].life*10000/limit + 500; for (rx=-1; rx<2; rx++) for (ry=-1; ry<2; ry++) if (x+rx>=0 && y+ry>0 && x+rx<XRES && y+ry<YRES && (rx || ry)) @@ -195,4 +195,4 @@ int Element_SPNG::graphics(GRAPHICS_FUNC_ARGS) } -Element_SPNG::~Element_SPNG() {}
\ No newline at end of file +Element_SPNG::~Element_SPNG() {} |
