rail_cmd.c
changeset 4549 60410aa1aa88
parent 4483 939db99bddb9
child 4556 693f37c36c85
--- a/rail_cmd.c	Mon Sep 04 17:30:30 2006 +0000
+++ b/rail_cmd.c	Mon Sep 04 20:40:33 2006 +0000
@@ -586,13 +586,12 @@
 	tileh = GetTileSlope(tile, NULL);
 
 	/* Prohibit construction if
-		The tile is non-flat AND
-		1) The AI is "old-school"
-		2) build-on-slopes is disabled
-		3) the tile is steep i.e. spans two height levels
-		4) the exit points in the wrong direction
-
-	*/
+	 * The tile is non-flat AND
+	 * 1) The AI is "old-school"
+	 * 2) build-on-slopes is disabled
+	 * 3) the tile is steep i.e. spans two height levels
+	 * 4) the exit points in the wrong direction
+	 */
 
 	if (tileh != SLOPE_FLAT && (
 				_is_old_ai_player ||
@@ -753,7 +752,7 @@
 	SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION);
 
 	/* for vertical/horizontal tracks, double the given signals density
-	* since the original amount will be too dense (shorter tracks) */
+	 * since the original amount will be too dense (shorter tracks) */
 	if (!IsDiagonalTrack(track)) signal_density *= 2;
 
 	if (CmdFailed(ValidateAutoDrag(&trackdir, tile, end_tile))) return CMD_ERROR;
@@ -777,7 +776,7 @@
 	 * trackdir   - trackdir to build with autorail
 	 * semaphores - semaphores or signals
 	 * signals    - is there a signal/semaphore on the first tile, copy its style (two-way/single-way)
-	                and convert all others to semaphore/signal
+	 *              and convert all others to semaphore/signal
 	 * mode       - 1 remove signals, 0 build signals */
 	signal_ctr = total_cost = 0;
 	for (;;) {