diff -r 73b3b4b8359c -r 63ad8a648afd hedgewars/uAIAmmoTests.pas --- a/hedgewars/uAIAmmoTests.pas Sat Apr 16 23:21:15 2011 +0400 +++ b/hedgewars/uAIAmmoTests.pas Sun Apr 17 11:57:46 2011 -0400 @@ -115,7 +115,7 @@ implementation uses uAIMisc, uVariables, uUtils; -function Metric(x1, y1, x2, y2: LongInt): LongInt; +function Metric(x1, y1, x2, y2: LongInt): LongInt; inline; begin Metric:= abs(x1 - x2) + abs(y1 - y2) end;