--- a/src/ai/trolly/build.cpp Mon Jun 18 14:40:07 2007 +0000
+++ b/src/ai/trolly/build.cpp Mon Jun 18 16:42:40 2007 +0000
@@ -206,7 +206,7 @@
return 0;
}
- if (!CmdFailed(res)) cost += res;
+ if (CmdSucceeded(res)) cost += res;
}
// Go to the next tile
part++;