summaryrefslogtreecommitdiff
path: root/src/pathfind.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-26 16:01:29 +0000
committerskidd13 <skidd13@openttd.org>2007-11-26 16:01:29 +0000
commitf56579e0d9f8c0db5398dafa4c7c08829b23fe80 (patch)
tree14935bc71c99622f02f216f13d5e4c712b21ce20 /src/pathfind.cpp
parent91152b925e7f1ccbb3b7bcecf814118c06c0d2b6 (diff)
downloadopenttd-f56579e0d9f8c0db5398dafa4c7c08829b23fe80.tar.xz
(svn r11526) -Codechange: Rename the function delta fitting to the naming style
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r--src/pathfind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp
index 4541e9a9a..d2cf00f13 100644
--- a/src/pathfind.cpp
+++ b/src/pathfind.cpp
@@ -663,8 +663,8 @@ static const uint16 _is_upwards_slope[15] = {
static uint DistanceMoo(TileIndex t0, TileIndex t1)
{
- const uint dx = delta(TileX(t0), TileX(t1));
- const uint dy = delta(TileY(t0), TileY(t1));
+ const uint dx = Delta(TileX(t0), TileX(t1));
+ const uint dy = Delta(TileY(t0), TileY(t1));
const uint straightTracks = 2 * min(dx, dy); // The number of straight (not full length) tracks
/* OPTIMISATION: