File bomberclone-0.11.9-subscript.patch of Package bomberclone
Index: bomberclone-0.11.9/src/single.c
===================================================================
--- bomberclone-0.11.9.orig/src/single.c
+++ bomberclone-0.11.9/src/single.c
@@ -381,7 +381,7 @@ ai_findnearbombs (_point pos)
res |= (1 << d); // set the bit for the direction;
dist[d].x = dist[d].y = -1; // don't check no more.
}
- if (map.field[dist[d].x][dist[d].y].type != FT_nothing)
+ else if (map.field[dist[d].x][dist[d].y].type != FT_nothing)
dist[d].x = dist[d].y = -1; // don't check no more.
else if (dist[d].x != -1 && dist[d].y != -1) {
dist[d].x += dir_change[d].x;