Changeset - r14094:63981e18ea21
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-12-28 12:12:57
smatz@openttd.org
(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_order.hpp
Show inline comments
 
@@ -58,25 +58,25 @@ public:
 
		/** Wait till the vehicle is fully loaded; only for stations. Cannot be set when AIOF_NO_LOAD is set. */
 
		AIOF_FULL_LOAD         = 2 << 5,
 
		/** Wait till at least one cargo of the vehicle is fully loaded; only for stations. Cannot be set when AIOF_NO_LOAD is set. */
 
		AIOF_FULL_LOAD_ANY     = 3 << 5,
 
		/** Do not load any cargo; only for stations. Cannot be set when AIOF_NO_UNLOAD, AIOF_FULL_LOAD or AIOF_FULL_LOAD_ANY is set. */
 
		AIOF_NO_LOAD           = 1 << 7,
 

	
 
		/** Service the vehicle when needed, otherwise skip this order; only for depots. */
 
		AIOF_SERVICE_IF_NEEDED = 1 << 2,
 
		/** Stop in the depot instead of only go there for servicing; only for depots. */
 
		AIOF_STOP_IN_DEPOT     = 1 << 3,
 
		/** Go to nearest depot. */
 
		AIOF_GOTO_NEAREST_DEPOT = 1 << 4,
 
		AIOF_GOTO_NEAREST_DEPOT = 1 << 8,
 

	
 
		/** All flags related to non-stop settings. */
 
		AIOF_NON_STOP_FLAGS    = AIOF_NON_STOP_INTERMEDIATE | AIOF_NON_STOP_DESTINATION,
 
		/** All flags related to unloading. */
 
		AIOF_UNLOAD_FLAGS      = AIOF_TRANSFER | AIOF_UNLOAD | AIOF_NO_UNLOAD,
 
		/** All flags related to loading. */
 
		AIOF_LOAD_FLAGS        = AIOF_FULL_LOAD | AIOF_FULL_LOAD_ANY | AIOF_NO_LOAD,
 
		/** All flags related to depots. */
 
		AIOF_DEPOT_FLAGS       = AIOF_SERVICE_IF_NEEDED | AIOF_STOP_IN_DEPOT | AIOF_GOTO_NEAREST_DEPOT,
 

	
 
		/** For marking invalid order flags */
 
		AIOF_INVALID           = 0xFFFF,
0 comments (0 inline, 0 general)