diff options
author | rubidium <rubidium@openttd.org> | 2007-06-04 19:32:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-04 19:32:45 +0000 |
commit | ad747e3026a3f137f6f06d3e1a6b07a2de503729 (patch) | |
tree | 23a952e411aa1977dbeed8415c8221c18598db03 /src/ai/trolly | |
parent | a816369802a160cfbccbb966a8a402aad350cd73 (diff) | |
download | openttd-ad747e3026a3f137f6f06d3e1a6b07a2de503729.tar.xz |
(svn r10033) -Feature [FS#760]: skip to the selected order in the order list when clicking on the "skip" button while pressing CTRL.
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 f509afa7e..7290c7b12 100644 --- a/src/ai/trolly/trolly.cpp +++ b/src/ai/trolly/trolly.cpp @@ -1224,7 +1224,7 @@ static void AiNew_State_StartVehicle(Player *p) // Skip the first order if it is a second vehicle // This to make vehicles go different ways.. if (p->ainew.cur_veh & 1) - AI_DoCommand(0, p->ainew.veh_id, 0, DC_EXEC, CMD_SKIP_ORDER); + AI_DoCommand(0, p->ainew.veh_id, 1, DC_EXEC, CMD_SKIP_TO_ORDER); // 3, 2, 1... go! (give START_STOP command ;)) AI_DoCommand(0, p->ainew.veh_id, 0, DC_EXEC, CMD_START_STOP_ROADVEH); |