openttd.c
branchcustombridgeheads
changeset 5632 025c3b25f1fd
parent 5623 ef2a8a524a95
child 5642 bfa6074e2833
--- a/openttd.c	Tue Jan 02 02:06:48 2007 +0000
+++ b/openttd.c	Tue Jan 02 09:54:03 2007 +0000
@@ -1371,6 +1371,9 @@
 					CLRBIT(_m[tile].m5, 7);
 					SB(_m[tile].m5, 2, 2, 0);
 					SB(_m[tile].m4, 5, 2, dd);
+					/* Move the bridge type around */
+					SB(_m[tile].m2, 12, 4, GB(_m[tile].m2, 4, 4));
+					SB(_m[tile].m2, 4, 4, 0);
 				} else { /* Tunnel */
 					SetTileType(tile, MP_TUNNEL);
 				}