diff options
author | rubidium <rubidium@openttd.org> | 2008-04-18 04:37:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-18 04:37:06 +0000 |
commit | 9d8fa486af824039fae197212d83365242511da5 (patch) | |
tree | 31dd8caca4df193a4a2d7a3cd1ef2974e1a2b5a0 /src/ai/trolly/pathfinder.cpp | |
parent | 6daaf0fc5565599f9c87b431a69cdcbb91ed74ac (diff) | |
download | openttd-9d8fa486af824039fae197212d83365242511da5.tar.xz |
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
Diffstat (limited to 'src/ai/trolly/pathfinder.cpp')
-rw-r--r-- | src/ai/trolly/pathfinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/trolly/pathfinder.cpp b/src/ai/trolly/pathfinder.cpp index 0928a3a35..e58c92a27 100644 --- a/src/ai/trolly/pathfinder.cpp +++ b/src/ai/trolly/pathfinder.cpp @@ -342,7 +342,7 @@ static void AyStar_AiPathFinder_GetNeighbours(AyStar *aystar, OpenListNode *curr // For now, we check both sides for this tile.. terraforming gives fuzzy result if (tileh == InclinedSlope(dir)) { // Now simply check if a tunnel can be build - ret = AI_DoCommand(tile, (PathFinderInfo->rail_or_road?0:0x200), 0, DC_AUTO, CMD_BUILD_TUNNEL); + ret = AI_DoCommand(tile, (PathFinderInfo->rail_or_road ? 0 : 0x200), 0, DC_AUTO, CMD_BUILD_TUNNEL); tileh = GetTileSlope(_build_tunnel_endtile, NULL); if (CmdSucceeded(ret) && IsInclinedSlope(tileh)) { aystar->neighbours[aystar->num_neighbours].tile = _build_tunnel_endtile; |