summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
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 d17a552..efd9d78 100644
--- a/src/elements/gel.c
+++ b/src/elements/gel.c
@@ -53,7 +53,7 @@ int update_GEL(UPDATE_FUNC_ARGS) {
parts[i].vx += dx;
parts[i].vy += dy;
- if ((ptypes[r&0xFF].state!=ST_SOLID && ptypes[r&0xFF].state!=ST_NONE) || (r&0xFF)==PT_GOO)
+ if (ptypes[r&0xFF].properties&TYPE_PART || (r&0xFF)==PT_GOO)
{
parts[r>>8].vx -= dx;
parts[r>>8].vy -= dy;