diff --git a/game.c b/game.c index ff8d087..6bf26cc 100644 --- a/game.c +++ b/game.c @@ -148,7 +148,7 @@ void slideInDirection(tDir dir) } for ( ; ((pos >= 0) && (pos < NUM_TILES)); pos += incr) { - if (gTileValues[pos] == BLOCKED_TILE_VALUE) + if (gTileValues[pos] <= 0) continue; destPos = nextPosInDir(pos, dir); if (destPos == pos)