(svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit

This commit is contained in:
rubidium
2010-08-19 20:45:29 +00:00
parent 646fbb628a
commit cc658392eb
5 changed files with 17 additions and 17 deletions

View File

@@ -1383,7 +1383,7 @@ CommandCost CmdSellRailWagon(DoCommandFlag flags, Vehicle *t, uint16 data, uint3
/* If we deleted a window then open a new one for the 'new' train */
if (IsLocalCompany() && w != NULL) ShowVehicleViewWindow(new_head);
} else if (v->IsPrimaryVehicle() && data & (MAKE_ORDER_BACKUP_FLAG >> 16)) {
} else if (v->IsPrimaryVehicle() && data & (MAKE_ORDER_BACKUP_FLAG >> 20)) {
OrderBackup::Backup(v, user);
}