diff options
author | yexo <yexo@openttd.org> | 2009-03-04 23:12:48 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-03-04 23:12:48 +0000 |
commit | 890c5e3ae42bd7d9f904ba6c69f3c4ac3649cdf5 (patch) | |
tree | 2ef1ec448d02c7620c9ae3185c1e07df7ef9212e /bin/ai | |
parent | 15e9fdd47af44f5053da3ee48bfc928696ac589c (diff) | |
download | openttd-890c5e3ae42bd7d9f904ba6c69f3c4ac3649cdf5.tar.xz |
(svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags().
Diffstat (limited to 'bin/ai')
-rw-r--r-- | bin/ai/regression/regression.nut | 2 | ||||
-rw-r--r-- | bin/ai/regression/regression.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut index d873d3708..4a2e8433f 100644 --- a/bin/ai/regression/regression.nut +++ b/bin/ai/regression/regression.nut @@ -826,7 +826,7 @@ function Regression::Order() print(" GetOrderCount(): " + AIOrder.GetOrderCount(12)); print(" IsValidVehicleOrder(): " + AIOrder.IsValidVehicleOrder(12, 1)); print(" RemoveOrder(): " + AIOrder.RemoveOrder(12, 0)); - print(" ChangeOrder(): " + AIOrder.ChangeOrder(12, 0, AIOrder.AIOF_FULL_LOAD)); + print(" SetOrderFlags(): " + AIOrder.SetOrderFlags(12, 0, AIOrder.AIOF_FULL_LOAD)); print(" GetOrderDestination(): " + AIOrder.GetOrderDestination(12, 0)); print(" CopyOrders(): " + AIOrder.CopyOrders(12, 1)); print(" CopyOrders(): " + AIOrder.CopyOrders(13, 12)); diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt index 9c58e8965..6d225fb28 100644 --- a/bin/ai/regression/regression.txt +++ b/bin/ai/regression/regression.txt @@ -8348,7 +8348,7 @@ GetOrderCount(): 2 IsValidVehicleOrder(): true RemoveOrder(): true - ChangeOrder(): true + SetOrderFlags(): true GetOrderDestination(): 33411 CopyOrders(): false CopyOrders(): true |