diff -Nur -X/data/freeciv-dev/freeciv/diff_ignore freeciv/client/packhand.c roadciv/client/packhand.c --- freeciv/client/packhand.c Fri Oct 27 23:42:17 2000 +++ roadciv/client/packhand.c Fri Jan 5 20:02:15 2001 @@ -1081,6 +1081,12 @@ popup_science_dialog(1); did_advance_tech_this_turn=game.year; science_dialog_update(); + + /* If we just learned bridge building and focus is on a settler + on a river the road menu item will remain disabled unless we + do this. (applys in other cases as well.) */ + if (get_unit_in_focus()) + update_menus(); } } @@ -1468,7 +1474,15 @@ refresh_tile_mapcanvas(x, y-1, 1); if(tile_is_known(x, y+1)>=TILE_KNOWN_FOGGED) refresh_tile_mapcanvas(x, y+1, 1); - } + } + } + + /* update menus if the focus unit is on the tile. */ + if (tile_changed) { + struct unit *punit = get_unit_in_focus(); + if (punit && same_pos(punit->x, punit->y, packet->x, packet->y)) { + update_menus(); + } } }