diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-03 01:18:40 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-03 01:18:40 +0000 |
commit | ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8 (patch) | |
tree | b690e9ee0bf559ff2fc4d85d367241a54bcd86f2 /ai/trolly/build.c | |
parent | a9fa6fd5060db97614240788e8f7658bd06f3ae4 (diff) | |
download | openttd-ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8.tar.xz |
(svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG instead of printf and the
verb is build/built/built not build/*/build or build/*/builded.
Diffstat (limited to 'ai/trolly/build.c')
-rw-r--r-- | ai/trolly/build.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ai/trolly/build.c b/ai/trolly/build.c index f90336f20..ff2158395 100644 --- a/ai/trolly/build.c +++ b/ai/trolly/build.c @@ -166,7 +166,7 @@ int AiNew_Build_RoutePart(Player *p, Ai_PathFinderInfo *PathFinderInfo, byte fla PathFinderInfo->position++; // TODO: problems! if (CmdFailed(cost)) { - DEBUG(ai,0)("[AiNew - BuildPath] We have a serious problem: tunnel could not be build!"); + DEBUG(ai,0)("[AiNew - BuildPath] We have a serious problem: tunnel could not be built!"); return 0; } return cost; @@ -177,7 +177,7 @@ int AiNew_Build_RoutePart(Player *p, Ai_PathFinderInfo *PathFinderInfo, byte fla PathFinderInfo->position++; // TODO: problems! if (CmdFailed(cost)) { - DEBUG(ai,0)("[AiNew - BuildPath] We have a serious problem: bridge could not be build!"); + DEBUG(ai,0)("[AiNew - BuildPath] We have a serious problem: bridge could not be built!"); return 0; } return cost; @@ -201,7 +201,7 @@ int AiNew_Build_RoutePart(Player *p, Ai_PathFinderInfo *PathFinderInfo, byte fla // Currently, we ignore CMD_ERRORs! if (CmdFailed(res) && flag == DC_EXEC && !IsTileType(route[part], MP_STREET) && !EnsureNoVehicle(route[part])) { // Problem.. let's just abort it all! - DEBUG(ai,0)("Darn, the route could not be builded.. aborting!"); + DEBUG(ai,0)("Darn, the route could not be built.. aborting!"); p->ainew.state = AI_STATE_NOTHING; return 0; } |