summaryrefslogtreecommitdiff
path: root/src/industry_cmd.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
commit734b22e070ca1dac717780d0a4d1ca962c4ddfbf (patch)
tree14935bc71c99622f02f216f13d5e4c712b21ce20 /src/industry_cmd.cpp
parentd736a04b59a202023c0c72ff1d2347c0eb83ecff (diff)
downloadopenttd-734b22e070ca1dac717780d0a4d1ca962c4ddfbf.tar.xz
(svn r11526) -Codechange: Rename the function delta fitting to the naming style
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 8f3edba49..1aa369c5e 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1290,7 +1290,7 @@ static bool CheckCanTerraformSurroundingTiles(TileIndex tile, uint height, int i
return false;
/* Don't allow too big of a change if this is the sub-tile check */
- if (internal != 0 && delta(curh, height) > 1) return false;
+ if (internal != 0 && Delta(curh, height) > 1) return false;
/* Different height, so the surrounding tiles of this tile
* has to be correct too (in level, or almost in level)