summaryrefslogtreecommitdiff
path: root/src/ai/trolly
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-17 10:47:30 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-17 10:47:30 +0000
commit70b6716b985c15e6eee7304fd6434842d2bc456b (patch)
tree1828c58fa1d027cf67ed4831815fea2195b302e6 /src/ai/trolly
parente0e380e8d9fdb016769c5f044ea048ac87a6ca11 (diff)
downloadopenttd-70b6716b985c15e6eee7304fd6434842d2bc456b.tar.xz
(svn r10177) -Fix: Passengers has one A and two Es (ln)
Diffstat (limited to 'src/ai/trolly')
-rw-r--r--src/ai/trolly/trolly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/trolly/trolly.cpp b/src/ai/trolly/trolly.cpp
index b739c42a8..cd5ca16a5 100644
--- a/src/ai/trolly/trolly.cpp
+++ b/src/ai/trolly/trolly.cpp
@@ -650,7 +650,7 @@ static void AiNew_State_FindStation(Player *p)
// To find a good spot we scan a range from the center, a get the point
// where we get the most cargo and where it is buildable.
// TODO: also check for station of myself and make sure we are not
- // taking eachothers passangers away (bad result when it does not)
+ // taking eachothers passengers away (bad result when it does not)
for (x = TileX(tile) - AI_FINDSTATION_TILE_RANGE; x <= TileX(tile) + AI_FINDSTATION_TILE_RANGE; x++) {
for (y = TileY(tile) - AI_FINDSTATION_TILE_RANGE; y <= TileY(tile) + AI_FINDSTATION_TILE_RANGE; y++) {
new_tile = TileXY(x, y);