diff options
author | frosch <frosch@openttd.org> | 2008-08-15 13:57:43 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-08-15 13:57:43 +0000 |
commit | c8e699cc35694f884e5d93fcdce81b3cda60ea09 (patch) | |
tree | e439387d0f5c3387188afcb3d06876defc09085e /src/ai/trolly | |
parent | 80376a11a0aef7f471250eca151de2e4d6d30327 (diff) | |
download | openttd-c8e699cc35694f884e5d93fcdce81b3cda60ea09.tar.xz |
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
Diffstat (limited to 'src/ai/trolly')
-rw-r--r-- | src/ai/trolly/trolly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/trolly/trolly.cpp b/src/ai/trolly/trolly.cpp index a195a4020..de392dcca 100644 --- a/src/ai/trolly/trolly.cpp +++ b/src/ai/trolly/trolly.cpp @@ -1220,7 +1220,7 @@ static void AiNew_State_StartVehicle(Player *p) AI_DoCommand(0, _players_ainew[p->index].veh_id, 1, DC_EXEC, CMD_SKIP_TO_ORDER); // 3, 2, 1... go! (give START_STOP command ;)) - AI_DoCommand(0, _players_ainew[p->index].veh_id, 0, DC_EXEC, CMD_START_STOP_ROADVEH); + AI_DoCommand(0, _players_ainew[p->index].veh_id, 0, DC_EXEC, CMD_START_STOP_VEHICLE); // Try to build an other vehicle (that function will stop building when needed) _players_ainew[p->index].idle = 10; _players_ainew[p->index].state = AI_STATE_BUILD_VEHICLE; |