diff options
Diffstat (limited to 'ai/trolly')
-rw-r--r-- | ai/trolly/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ai/trolly/build.c b/ai/trolly/build.c index 1259d4c9a..9c73cc0e2 100644 --- a/ai/trolly/build.c +++ b/ai/trolly/build.c @@ -238,8 +238,8 @@ EngineID AiNew_PickVehicle(Player *p) EngineID end = ROAD_ENGINES_INDEX + NUM_ROAD_ENGINES; EngineID i; - // Let's check it backwards.. we simply want to best engine available.. - for (i = start; i != end; i--) { + /* Loop through all road vehicles */ + for (i = start; i != end; i++) { const RoadVehicleInfo *rvi = RoadVehInfo(i); const Engine* e = GetEngine(i); int32 rating; |