Change mine command not to work under bridges for now

This is for consistency with aerial mining.  Seamines don't work under
bridges anyway (they did a long time ago, until Empire 2).

Making seamines work under bridges again wouldn't be hard, but it
would make the 'X' in bmaps ambiguous.
This commit is contained in:
Markus Armbruster 2009-03-29 17:16:48 +02:00
parent 3ea4e1ac60
commit d1b39676e2
2 changed files with 2 additions and 7 deletions

View file

@ -68,7 +68,7 @@ mine(void)
continue;
mines_avail = MIN(shells, mines);
if (getsect(ship.shp_x, ship.shp_y, &sect) == 0 ||
!SCT_MINES_ARE_SEAMINES(&sect)) {
sect.sct_type != SCT_WATER) {
pr("You can't lay mines there!!\n");
continue;
}