train_cmd.c
changeset 3636 d87b21df2944
parent 3608 9b21bc58b26c
child 3645 86af43f87885
--- a/train_cmd.c	Sun Apr 23 11:13:06 2006 +0000
+++ b/train_cmd.c	Sun Apr 23 13:48:16 2006 +0000
@@ -2612,7 +2612,7 @@
 		case MP_TUNNELBRIDGE:
 			if (IsBridge(tile) && IsBridgeMiddle(tile)) {
 				uint height;
-				uint tileh = GetTileSlope(tile, &height);
+				Slope tileh = GetTileSlope(tile, &height);
 
 				// correct Z position of a train going under a bridge on slopes
 				if (CorrectZ(tileh)) height += 8;