oldloader.c
branch0.5
changeset 5527 cffb9a72506e
parent 5507 65cf99137628
--- a/oldloader.c	Sun Jul 22 16:48:10 2007 +0000
+++ b/oldloader.c	Mon Jul 30 10:24:04 2007 +0000
@@ -357,21 +357,6 @@
 				break;
 			}
 		}
-
-		if (IsBridgeTile(v->tile) && IsBridgeRamp(v->tile) &&
-				(v->z_pos & (TILE_HEIGHT - 1)) == (TILE_HEIGHT - 1)) {
-			/* Under some circumstances the trains going up a ramp can be one
-			 * pixel too low when they enter the bridge. This causes the train
-			 * to "disappear" under the bridge, which causes the train to
-			 * break into two pieces and crash slightly later.
-			 *
-			 * This "hack" will make the trains on those positions on the
-			 * ramps run one pixel higher. This offset will be automatically
-			 * "fixed" when it enters the bridge middle parts or when it
-			 * drives down the ramp of the bridge.
-			 */
-			v->z_pos++;
-		}
 	}
 }