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

This commit is contained in:
savask 2012-04-27 19:47:24 +07:00
parent 68ab2e3148
commit ffee9df8e6

View File

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