src/order_cmd.cpp
changeset 9355 8a3f886cf11a
parent 9354 845e07db4549
child 9356 3c40312a3b86
--- a/src/order_cmd.cpp	Sun May 25 19:17:03 2008 +0000
+++ b/src/order_cmd.cpp	Sun May 25 19:29:24 2008 +0000
@@ -168,7 +168,9 @@
 	/* Then the load/depot action flags because those bits are going to be reused too
 	 * and they reuse the non-stop bits. */
 	if (this->GetType() != OT_GOTO_DEPOT) {
-		if ((this->flags & 4) == 0) {
+		if ((this->flags & 2) != 0) {
+			this->SetLoadType(OLFB_NO_LOAD);
+		} else if ((this->flags & 4) == 0) {
 			this->SetLoadType(OLF_LOAD_IF_POSSIBLE);
 		} else {
 			this->SetLoadType(_settings.gui.sg_full_load_any ? OLF_FULL_LOAD_ANY : OLFB_FULL_LOAD);