version 1.74 | version 1.75 | |||
---|---|---|---|---|
|
| |||
/* | /* | |||
* static char *rcsid_monster_c = | * static char *rcsid_monster_c = | |||
* "$Id: monster.c,v 1.74 2005/04/16 05:30:47 mwedel Exp $"; | * "$Id: monster.c,v 1.75 2005/04/17 04:25:55 mwedel Exp $"; | |||
*/ | */ | |||
/* | /* | |||
|
| |||
x1 = abs(x - op->x)*abs(x - op->x); | x1 = abs(x - op->x)*abs(x - op->x); | |||
y1 = abs(y - op->y)*abs(y - op->y); | y1 = abs(y - op->y)*abs(y - op->y); | |||
if ((int)(sqrt(x1 + y1)) > 0) return 1; | if (isqrt(x1 + y1) > 0) return 1; | |||
} | } | |||
} | } | |||
} | } |
Legend:
|