summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
authorsavask <savask@yandex.ru>2012-04-29 17:37:51 (GMT)
committer savask <savask@yandex.ru>2012-04-29 17:40:05 (GMT)
commit74979102b34980ce2a815ebf15985d356a73de3c (patch)
tree8588f557a3b38cbc187e6fb975280cb33e566c56 /src/elements
parent6717f4ff32aa7a341a73735061dfbc72eed8ea2a (diff)
downloadpowder-74979102b34980ce2a815ebf15985d356a73de3c.zip
powder-74979102b34980ce2a815ebf15985d356a73de3c.tar.gz
One gel particle can't absorb more than 100 water particles now.
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/gel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/gel.c b/src/elements/gel.c
index efd9d78..5c1b1f5 100644
--- a/src/elements/gel.c
+++ b/src/elements/gel.c
@@ -14,7 +14,7 @@ int update_GEL(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++;
kill_part(r>>8);
}