Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21534/src Modified Files: local.c Log Message: Bug fix for puckcircle redraw. Preparation for final v1.1 release. Index: local.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/local.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- local.c 25 Jun 2006 08:19:40 -0000 1.45 +++ local.c 26 Jun 2006 01:21:01 -0000 1.46 @@ -1174,8 +1174,8 @@ W_WriteCircle(w, WINSIDE/2, WINSIDE/2, DETDIST/SCALE, 0, W_Red); clearzone[0][clearcount] = WINSIDE/2 - (DETDIST/SCALE); clearzone[1][clearcount] = WINSIDE/2 - (DETDIST/SCALE); - clearzone[2][clearcount] = 2*DETDIST/SCALE; - clearzone[3][clearcount] = 2*DETDIST/SCALE; + clearzone[2][clearcount] = 2*DETDIST/SCALE + 1; + clearzone[3][clearcount] = 2*DETDIST/SCALE + 1; clearcount++; } } @@ -1188,8 +1188,8 @@ W_WriteCircle(w, WINSIDE/2, WINSIDE/2, SHOTRANGE/SCALE, 0, W_Grey); clearzone[0][clearcount] = WINSIDE/2 - (SHOTRANGE/SCALE); clearzone[1][clearcount] = WINSIDE/2 - (SHOTRANGE/SCALE); - clearzone[2][clearcount] = 2*SHOTRANGE/SCALE; - clearzone[3][clearcount] = 2*SHOTRANGE/SCALE; + clearzone[2][clearcount] = 2*SHOTRANGE/SCALE + 1; + clearzone[3][clearcount] = 2*SHOTRANGE/SCALE + 1; clearcount++; } }