modified distance function somewhat
authorceriel <none@none>
Fri, 24 Jun 1988 12:03:02 +0000 (12:03 +0000)
committerceriel <none@none>
Fri, 24 Jun 1988 12:03:02 +0000 (12:03 +0000)
mach/proto/ncg/subr.c

index addea1f..b697111 100644 (file)
@@ -332,7 +332,7 @@ distance(cindex) {
                        return(0);
                return(10-exact);
        }
-       return(20-exact+fromstackneeded);
+       return(20-2*exact+fromstackneeded);
 }
 
 unsigned costcalc(cost) cost_t cost; {