Index: client/gui-gtk/mapview.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/mapview.c,v retrieving revision 1.103 diff -u -r1.103 mapview.c --- client/gui-gtk/mapview.c 2001/10/05 09:47:41 1.103 +++ client/gui-gtk/mapview.c 2001/10/14 19:14:40 @@ -226,7 +226,7 @@ if (!citymode) { /* put any goto lines on the tile. */ - if (y >= 0 && y < map.ysize) { + if (is_real_tile(x, y)) { int dir; for (dir = 0; dir < 8; dir++) { if (get_drawn(x, y, dir)) { Index: client/gui-mui/graphics.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/gui-mui/graphics.c,v retrieving revision 1.15 diff -u -r1.15 graphics.c --- client/gui-mui/graphics.c 2001/09/23 16:09:36 1.15 +++ client/gui-mui/graphics.c 2001/10/14 19:14:41 @@ -979,7 +979,7 @@ if (!citymode) { /* put any goto lines on the tile. */ - if (y >= 0 && y < map.ysize) { + if (is_real_tile(x, y)) { int dir; for (dir = 0; dir < 8; dir++) { if (get_drawn(x, y, dir)) { Index: client/gui-win32/mapview.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/gui-win32/mapview.c,v retrieving revision 1.7 diff -u -r1.7 mapview.c --- client/gui-win32/mapview.c 2001/10/13 17:38:57 1.7 +++ client/gui-win32/mapview.c 2001/10/14 19:14:41 @@ -360,7 +360,7 @@ if (!citymode) { /* put any goto lines on the tile. */ - if (y >= 0 && y < map.ysize) { + if (is_real_tile(x, y)) { int dir; for (dir = 0; dir < 8; dir++) { if (get_drawn(x, y, dir)) { Index: client/gui-xaw/mapview.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/client/gui-xaw/mapview.c,v retrieving revision 1.83 diff -u -r1.83 mapview.c --- client/gui-xaw/mapview.c 2001/10/04 20:23:34 1.83 +++ client/gui-xaw/mapview.c 2001/10/14 19:14:41 @@ -1100,7 +1100,7 @@ if (!citymode) { /* put any goto lines on the tile. */ - if (y >= 0 && y < map.ysize) { + if (is_real_tile(x, y)) { int dir; for (dir = 0; dir < 8; dir++) { if (get_drawn(x, y, dir)) { Index: server/plrhand.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v retrieving revision 1.201 diff -u -r1.201 plrhand.c --- server/plrhand.c 2001/10/12 12:22:26 1.201 +++ server/plrhand.c 2001/10/14 19:14:42 @@ -893,7 +893,7 @@ genmsg.event = event; conn_list_iterate(*dest, pconn) { - if (y >= 0 && y < map.ysize && server_state >= RUN_GAME_STATE + if (is_real_tile(x, y) && server_state >= RUN_GAME_STATE && ((pconn->player==NULL && pconn->observer) || (pconn->player!=NULL && map_get_known(x, y, pconn->player)))) { genmsg.x = x;