From cc658392ebef76ca21efc7c3ab1aaaa93c50448e Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 19 Aug 2010 20:45:29 +0000 Subject: (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 562801ef7..0a0404bbb 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -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); } -- cgit v1.2.3-54-g00ecf