OpenTTD

Tasklist

FS#3037 - NoAI documentation errors in error messages

Attached to Project: OpenTTD
Opened by Lasse Krogh Thygesen (Chruker) - Friday, 17 July 2009, 21:02 GMT
Last edited by Thijs Marinussen (Yexo) - Friday, 17 July 2009, 21:36 GMT
Type Bug
Category Script → NoAI
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version 0.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There are a few errors in the errors messages in the NoAI documentation.

A search for the following strings should find them:
- wrong: ERR_STATION_TOO_CLOSE_TO_OTHER_STATION should be: ERR_STATION_TOO_CLOSE_TO_ANOTHER_STATION
- wrong: ERR_ORDER_NO_MORE_SPACE should be: ERR_ORDER_TOO_MANY


In addition the AIRoad::BuildRoadStation and AIRoad::BuildDriveThroughRoadStation has a typo in function documentation where they list their errors. They say:
AIError:ERR_VEHICLE_IN_THE_WAY (note the single colon)


Finally there is a type in the error name AIVehicle::ERR_VEHCILE_NO_POWER it should be AIVehicle::ERR_VEHICLE_NO_POWER
I did a search and none of the AIs available on Bananas are referencing ERR_VEHCILE_NO_POWER
This task depends upon

Closed by  Thijs Marinussen (Yexo)
Friday, 17 July 2009, 21:36 GMT
Reason for closing:  Implemented
Additional comments about closing:  In 16865
Comment by Lasse Krogh Thygesen (Chruker) - Friday, 17 July 2009, 21:10 GMT
Attached a virgin attempt at making a .diff file with these changes :-)

Loading...