version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.25 2001/11/04 20:22:55 michtoen Exp $"; | | * "$Id: map.c,v 1.26 2001/11/05 08:21:05 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
best = op1; | | best = op1; |
/* If this is multipart, find the closest part now */ | | /* If this is multipart, find the closest part now */ |
if (flags & 0x1 && op1->more) { | | if (!(flags & 0x1) && op1->more) { |
object *tmp; | | object *tmp; |
int best_distance = retval->distance_x * retval->distance_x + | | int best_distance = retval->distance_x * retval->distance_x + |
retval->distance_y * retval->distance_y, tmpi; | | retval->distance_y * retval->distance_y, tmpi; |