hedgewars/uAIAmmoTests.pas
changeset 5150 63ad8a648afd
parent 5024 1e332947147c
child 5151 cbadb9fa52fc
--- 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;