(svn r4398) -Fix: Quick and Dirty solution for FS#116. Just for the nightlies
authorcelestar
Wed, 12 Apr 2006 17:58:58 +0000
changeset 3537 29302585a5b1
parent 3536 49598fb28a65
child 3538 3eb71c726341
(svn r4398) -Fix: Quick and Dirty solution for FS#116. Just for the nightlies
tunnelbridge_cmd.c
--- a/tunnelbridge_cmd.c	Wed Apr 12 17:53:52 2006 +0000
+++ b/tunnelbridge_cmd.c	Wed Apr 12 17:58:58 2006 +0000
@@ -1123,6 +1123,7 @@
 				uint f = _bridge_foundations[GetBridgeAxis(tile)][tileh];
 
 				if (f != 0) {
+					if (f == 1) return z;
 					if (f < 15) return z + 8;
 					tileh = _inclined_tileh[f - 15];
 				}