TPT: One gel particle can't absorb more than 100 water particles now. 74979102b3

This commit is contained in:
Simon Robertshaw 2012-06-12 17:08:15 +01:00
parent f2e1d38b58
commit 80bb49ca12

View File

@ -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);
}