src/industry_cmd.cpp
changeset 7970 7d6b9ab57081
parent 7967 a230c063a672
child 7972 8c4b44015a5f
--- a/src/industry_cmd.cpp	Sun Nov 25 20:20:16 2007 +0000
+++ b/src/industry_cmd.cpp	Mon Nov 26 16:01:29 2007 +0000
@@ -1290,7 +1290,7 @@
 			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)