diff --git a/src/powder.c b/src/powder.c index 2e5aef0bb..bb773858e 100644 --- a/src/powder.c +++ b/src/powder.c @@ -1988,7 +1988,9 @@ killed: if (try_move(i, x, y, j, clear_y)) { parts[i].x = clear_xf+(j-clear_x); + parts[i].y = clear_yf; nx = j; + ny = clear_y; s = 1; break; } @@ -2000,11 +2002,11 @@ killed: else r = -1; if (s) - for (j=clear_y+r; j>=0 && j=clear_y-rt && j=0 && j=ny-rt && j