From 80bb49ca12fb6cd492cffe7d667de5a8c4981659 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 12 Jun 2012 17:08:15 +0100 Subject: [PATCH] TPT: One gel particle can't absorb more than 100 water particles now. 74979102b3 --- src/simulation/elements/GEL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/GEL.cpp b/src/simulation/elements/GEL.cpp index 6508492b6..ed1b0eb1b 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); }