(svn r14005) -Codechange: minor coding style fix
authorsmatz
Wed, 06 Aug 2008 15:52:04 +0000
changeset 9860 b7e82afa0df7
parent 9859 28606a486c52
child 9861 10bbfd0947e8
(svn r14005) -Codechange: minor coding style fix
src/rail_cmd.cpp
--- a/src/rail_cmd.cpp	Wed Aug 06 07:10:40 2008 +0000
+++ b/src/rail_cmd.cpp	Wed Aug 06 15:52:04 2008 +0000
@@ -294,8 +294,9 @@
 
 	/* check track/slope combination */
 	if ((f_new == FOUNDATION_INVALID) ||
-	    ((f_new != FOUNDATION_NONE) && (!_settings_game.construction.build_on_slopes || _is_old_ai_player))
-	   ) return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
+			((f_new != FOUNDATION_NONE) && (!_settings_game.construction.build_on_slopes || _is_old_ai_player))) {
+		return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
+	}
 
 	Foundation f_old = GetRailFoundation(tileh, existing);
 	return CommandCost(EXPENSES_CONSTRUCTION, f_new != f_old ? _price.terraform : (Money)0);