(svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on)
authortron
Thu, 16 Mar 2006 07:18:38 +0000
changeset 3230 8159654680c5
parent 3229 4cdbeb778240
child 3231 eb74c2e361f9
(svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on)
tunnelbridge_cmd.c
--- a/tunnelbridge_cmd.c	Thu Mar 16 07:12:28 2006 +0000
+++ b/tunnelbridge_cmd.c	Thu Mar 16 07:18:38 2006 +0000
@@ -1004,8 +1004,6 @@
 			int x,y;
 
 			if (IsTransportUnderBridge(ti->tile)) {
-				// draw transport route under bridge
-
 				// draw foundation?
 				if (ti->tileh) {
 					int f = _bridge_foundations[axis][ti->tileh];
@@ -1025,9 +1023,9 @@
 				} else {
 					// road
 					if (ti->tileh == 0) {
+						image = (axis == AXIS_X ? SPR_ROAD_Y : SPR_ROAD_X);
+					} else {
 						image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
-					} else {
-						image = (axis == AXIS_X ? SPR_ROAD_Y : SPR_ROAD_X);
 					}
 					if (ice) image += 19;
 				}