diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-12 16:08:15 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-12 16:08:15 (GMT) |
| commit | 80bb49ca12fb6cd492cffe7d667de5a8c4981659 (patch) | |
| tree | d6d341f03e5517ae72845de3248ba03ad4fce35d /src/simulation/elements | |
| parent | f2e1d38b58878cc35cef1f8e5cb4602f3d14eb1d (diff) | |
| download | powder-80bb49ca12fb6cd492cffe7d667de5a8c4981659.zip powder-80bb49ca12fb6cd492cffe7d667de5a8c4981659.tar.gz | |
TPT: One gel particle can't absorb more than 100 water particles now. 74979102b3
Diffstat (limited to 'src/simulation/elements')
| -rw-r--r-- | src/simulation/elements/GEL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/GEL.cpp b/src/simulation/elements/GEL.cpp index 6508492..ed1b0eb 100644 --- a/src/simulation/elements/GEL.cpp +++ b/src/simulation/elements/GEL.cpp @@ -62,7 +62,7 @@ int Element_GEL::update(UPDATE_FUNC_ARGS) if (((r&0xFF)==PT_WATR || (r&0xFF)==PT_DSTW || (r&0xFF)==PT_SLTW || (r&0xFF)==PT_CBNW) && parts[i].tmp<100) { - parts[i].tmp = (100+parts[i].tmp)/2; + parts[i].tmp++; sim->kill_part(r>>8); } |
