src/train_cmd.cpp
branchcustombridgeheads
changeset 5651 335d9bd345b0
parent 5650 aefc131bf5ce
--- a/src/train_cmd.cpp	Mon Jan 15 20:14:06 2007 +0000
+++ b/src/train_cmd.cpp	Sun Mar 11 09:28:58 2007 +0000
@@ -3059,6 +3059,7 @@
 			/* left tunnel/bridge wormhole */
 			dir = v->direction;
 			enterdir = INVALID_DIAGDIR;
+			entering_new_tile = true;
 			if (IsBridgeTile(gp.new_tile) && res & 0x4) {
 				/* ok we have just left the bridge (because the status was "onbridge" before and we got
 				a return value of 4 from VehicleEnterTile. we know the enterdir from the bridge ramp