Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv13121/src Modified Files: map.c Log Message: Bug fix for redraw zone for stationary people near planets. Index: map.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/map.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- map.c 17 Mar 2007 22:40:06 -0000 1.30 +++ map.c 18 Mar 2007 19:04:11 -0000 1.31 @@ -283,7 +283,7 @@ { if (j->p_status != PALIVE) continue; if (j->p_flags & PFOBSERV) continue; - if ((j->p_x / SIZE) == x && (j->p_y / SIZE) == y ) + if (roughMap[j->p_x / SIZE][j->p_y / SIZE] != -1) redrawPlayer[i] = 1; } @@ -302,7 +302,7 @@ { if (j->p_status != PALIVE) continue; if (j->p_flags & PFOBSERV) continue; - if ((j->p_x / SIZE) == x && (j->p_y / SIZE) == y ) + if (roughMap3[j->p_x / SIZE][j->p_y / SIZE] != -1) redrawPlayer[i] = 1; }