summaryrefslogtreecommitdiff
path: root/src/ai/trolly
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-04 19:32:45 +0000
committerrubidium <rubidium@openttd.org>2007-06-04 19:32:45 +0000
commitc4806955e5961f0d16d137997b1baa003b81f408 (patch)
tree23a952e411aa1977dbeed8415c8221c18598db03 /src/ai/trolly
parentcb340626cafacd29c41580141fb00d137891b6a5 (diff)
downloadopenttd-c4806955e5961f0d16d137997b1baa003b81f408.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.cpp2
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);