(svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type.

This commit is contained in:
rubidium
2008-04-10 17:23:51 +00:00
parent 63116691a9
commit ba0a5814c2
5 changed files with 70 additions and 71 deletions

View File

@@ -1637,8 +1637,8 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
continue;
}
/* Do not pick up goods that we unloaded */
if ((u->current_order.GetUnloadType() & OUFB_UNLOAD) || (u->current_order.GetLoadType() & OLFB_NO_LOAD)) continue;
/* Do not pick up goods when we have no-load set. */
if (u->current_order.GetLoadType() & OLFB_NO_LOAD) continue;
/* update stats */
int t;