diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-17 10:47:30 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-17 10:47:30 +0000 |
commit | 94bd08fc17ec5d18325be743e0f7a56a52f10e82 (patch) | |
tree | 1828c58fa1d027cf67ed4831815fea2195b302e6 /src | |
parent | cf4911ddaf0940887e9dcd62334169de6d5c26c2 (diff) | |
download | openttd-94bd08fc17ec5d18325be743e0f7a56a52f10e82.tar.xz |
(svn r10177) -Fix: Passengers has one A and two Es (ln)
Diffstat (limited to 'src')
-rw-r--r-- | src/ai/trolly/trolly.cpp | 2 | ||||
-rw-r--r-- | src/train_cmd.cpp | 4 |
2 files changed, 3 insertions, 3 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); diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 5f2073cf0..5ea332b5f 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2732,10 +2732,10 @@ static void CheckTrainCollision(Vehicle *v) (v->u.rail.track == TRACK_BIT_WORMHOLE && (v->direction & 2) != (realcoll->direction & 2))) return; - /* two drivers + passangers killed in train v */ + /* two drivers + passengers killed in train v */ uint num = 2 + CountPassengersInTrain(v); if (!(coll->vehstatus & VS_CRASHED)) - /* two drivers + passangers killed in train coll (if it was not crashed already) */ + /* two drivers + passengers killed in train coll (if it was not crashed already) */ num += 2 + CountPassengersInTrain(coll); SetVehicleCrashed(v); |