TPT: It's hard to be a fool (fix for the fix) ffee9df8e6

This commit is contained in:
Simon Robertshaw 2012-06-12 16:03:26 +01:00
parent 14cb5cf765
commit 573035ac10

View File

@ -100,7 +100,7 @@ int Element_GEL::update(UPDATE_FUNC_ARGS)
dx *= per; dy *= per;
parts[i].vx += dx;
parts[i].vy += dy;
if ((sim->elements[r&0xFF].State!=ST_SOLID && sim->elements[r&0xFF].State!=ST_NONE) || (r&0xFF)==PT_GOO)
if ((sim->elements[r&0xFF].Properties&TYPE_PART) || (r&0xFF)==PT_GOO)
{
parts[r>>8].vx -= dx;
parts[r>>8].vy -= dy;