summaryrefslogtreecommitdiff
path: root/ai/trolly/build.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-11-05 22:50:59 +0000
committerpeter1138 <peter1138@openttd.org>2006-11-05 22:50:59 +0000
commit35e9ca52aa90d9b83e45ee30c242b7ba6ee83bc1 (patch)
tree587b1ac1c47486978f7d6786b6c6b72946cf09ac /ai/trolly/build.c
parenta387b09fc9bb7c005940cc1720861cbe0d06078c (diff)
downloadopenttd-35e9ca52aa90d9b83e45ee30c242b7ba6ee83bc1.tar.xz
(svn r7074) -Fix (r7073): stupid debugs
Diffstat (limited to 'ai/trolly/build.c')
-rw-r--r--ai/trolly/build.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ai/trolly/build.c b/ai/trolly/build.c
index 8583c86fe..f61521ba7 100644
--- a/ai/trolly/build.c
+++ b/ai/trolly/build.c
@@ -279,9 +279,7 @@ void CcAI(bool success, TileIndex tile, uint32 p1, uint32 p2)
if (GetVehicle(p->ainew.veh_id)->cargo_type != p->ainew.cargo) {
/* Cargo type doesn't match, so refit it */
- debug("doing refit");
if (CmdFailed(DoCommand(tile, p->ainew.veh_id, p->ainew.cargo, DC_EXEC, CMD_REFIT_ROAD_VEH))) {
- debug("refit failed, selling");
/* Refit failed, so sell the vehicle */
DoCommand(tile, p->ainew.veh_id, 0, DC_EXEC, CMD_SELL_ROAD_VEH);
p->ainew.state = AI_STATE_NOTHING;