train_cmd.c
changeset 1394 449e84bdc04e
parent 1387 eff794048d92
child 1418 1c235eb4197e
--- a/train_cmd.c	Tue Feb 22 12:27:33 2005 +0000
+++ b/train_cmd.c	Tue Feb 22 12:48:03 2005 +0000
@@ -2189,7 +2189,7 @@
 				uint tileh = GetTileSlope(tile, &height);
 
 				// correct Z position of a train going under a bridge on slopes
-				if (CORRECT_Z(tileh)) height += 8;
+				if (CorrectZ(tileh)) height += 8;
 
 				if (v->z_pos != height) return true; // train is going over bridge
 			}