summaryrefslogtreecommitdiff
path: root/src/ai/trolly
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-08-15 13:57:43 +0000
committerfrosch <frosch@openttd.org>2008-08-15 13:57:43 +0000
commit844a83ed58cb50d27dcb3757507afd8370e4a428 (patch)
treee439387d0f5c3387188afcb3d06876defc09085e /src/ai/trolly
parentd7382c86a57b74c513e753b5cb6c155a599cbc4d (diff)
downloadopenttd-844a83ed58cb50d27dcb3757507afd8370e4a428.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.cpp2
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;