diff options
author | rubidium <rubidium@openttd.org> | 2007-04-18 22:10:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-04-18 22:10:36 +0000 |
commit | 7577954ced47f09803bc1b3881d47f222dbd306b (patch) | |
tree | f018095aed2d70f8386d800c8e8ac662f4b9c8fa /src/ai/trolly/build.cpp | |
parent | 0d32783f87b9a32fa8f0bf539514ed08faebbd2a (diff) | |
download | openttd-7577954ced47f09803bc1b3881d47f222dbd306b.tar.xz |
(svn r9672) -Cleanup: lots of coding style fixes around operands.
Diffstat (limited to 'src/ai/trolly/build.cpp')
-rw-r--r-- | src/ai/trolly/build.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/trolly/build.cpp b/src/ai/trolly/build.cpp index 62ae8b6d0..218a4c0e8 100644 --- a/src/ai/trolly/build.cpp +++ b/src/ai/trolly/build.cpp @@ -123,7 +123,7 @@ int AiNew_Build_RoutePart(Player *p, Ai_PathFinderInfo *PathFinderInfo, byte fla } // Bridge code if ((AI_PATHFINDER_FLAG_BRIDGE & route_extra[part]) != 0) { - cost += AiNew_Build_Bridge(p, route[part], route[part-1], flag); + cost += AiNew_Build_Bridge(p, route[part], route[part - 1], flag); PathFinderInfo->position++; // TODO: problems! if (CmdFailed(cost)) { @@ -173,7 +173,7 @@ int AiNew_Build_RoutePart(Player *p, Ai_PathFinderInfo *PathFinderInfo, byte fla } // Bridge code if ((AI_PATHFINDER_FLAG_BRIDGE & route_extra[part]) != 0) { - cost += AiNew_Build_Bridge(p, route[part], route[part+1], flag); + cost += AiNew_Build_Bridge(p, route[part], route[part + 1], flag); PathFinderInfo->position++; // TODO: problems! if (CmdFailed(cost)) { |