diff options
Diffstat (limited to 'phantasia')
-rw-r--r-- | phantasia/misc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c index d3f72b9d..cfc8a1b1 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.14 2005/02/15 12:58:21 jsm Exp $ */ +/* $NetBSD: misc.c,v 1.15 2008/01/28 06:20:15 dholland Exp $ */ /* * misc.c Phantasia miscellaneous support routines @@ -954,13 +954,13 @@ error(whichfile) } double -distance(x1, x2, y1, y2) - double x1, x2, y1, y2; +distance(x_1, x_2, y_1, y_2) + double x_1, x_2, y_1, y_2; { double deltax, deltay; - deltax = x1 - x2; - deltay = y1 - y2; + deltax = x_1 - x_2; + deltay = y_1 - y_2; return (sqrt(deltax * deltax + deltay * deltay)); } |