diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-12 15:03:26 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-12 15:03:26 (GMT) |
| commit | 573035ac10659e4f89e6c1a5460126697b715a7f (patch) | |
| tree | 9e2b1f083f9aae4b339725dfcd42f63fa985edfd /src/simulation/elements/GEL.cpp | |
| parent | 14cb5cf76511d1cede8c9f54d51dff4d75a46662 (diff) | |
| download | powder-573035ac10659e4f89e6c1a5460126697b715a7f.zip powder-573035ac10659e4f89e6c1a5460126697b715a7f.tar.gz | |
TPT: It's hard to be a fool (fix for the fix) ffee9df8e6
Diffstat (limited to 'src/simulation/elements/GEL.cpp')
| -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 274f7c1..6508492 100644 --- a/src/simulation/elements/GEL.cpp +++ b/src/simulation/elements/GEL.cpp @@ -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; |
