(svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains.

This commit is contained in:
peter1138
2008-01-30 10:27:45 +00:00
parent 6ee4ed8bf9
commit 1268a70466
4 changed files with 7 additions and 4 deletions

View File

@@ -348,10 +348,9 @@ static bool RailVehicleChangeInfo(uint engine, int numinfo, int prop, byte **buf
} break;
case 0x08: // AI passenger service
/** @todo Tells the AI that this engine is designed for
/* Tells the AI that this engine is designed for
* passenger services and shouldn't be used for freight. */
grf_load_byte(&buf);
ret = true;
rvi->ai_passenger_only = grf_load_byte(&buf);
break;
case 0x09: { // Speed (1 unit is 1 kmh)