> vs. >= bugfix, from PhracturedBlue

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@346 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-05 19:43:31 +00:00
parent d7e79800d6
commit 55373fdd14
+2 -2
View File
@@ -267,12 +267,12 @@ void create_aa_points(MAP3D_POINT *ppt, double x, double y)
// get the integer value of this point
ppt->p[0].x=(COORD)(0.5+x);
ppt->p[0].y=(COORD)(0.5+y);
if(ppt->p[0].x > TWORADIUS) {
if(ppt->p[0].x >= TWORADIUS) {
ppt->p[0].x=TWORADIUS;
} else if(ppt->p[0].x != 0) {
deltax=x-ppt->p[0].x;
}
if(ppt->p[0].y > TWORADIUS) {
if(ppt->p[0].y >= TWORADIUS) {
ppt->p[0].y=TWORADIUS;
} else if(ppt->p[0].y != 0) {
deltay=y-ppt->p[0].y;