Index: client/packhand.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v retrieving revision 1.124 diff -u -r1.124 packhand.c --- packhand.c 2000/05/18 19:46:25 1.124 +++ packhand.c 2000/05/18 20:11:45 @@ -503,15 +503,8 @@ } else { do_move_unit(punit, packet); /* nice to see where a unit is going */ - /* shouldn't this stuff be a call to game_remove_unit() ?? --dwp */ - unit_list_unlink(&game.players[packet->owner].units, punit); - unit_list_unlink(&map_get_tile(punit->x, punit->y)->units, punit); - if(punit->homecity && (pcity=find_city_by_id(punit->homecity))) { - unit_list_unlink(&pcity->units_supported, punit); - } - refresh_tile_mapcanvas(punit->x, punit->y, 1); - idex_unregister_unit(punit); - free(punit); + game_remove_unit(punit->id); + refresh_tile_mapcanvas(packet->x, packet->y, 1); return; } if(pcity) {