diff options
author | rubidium <rubidium@openttd.org> | 2010-08-18 20:48:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-18 20:48:38 +0000 |
commit | 926594b599e76886fd877e953036918687418b0c (patch) | |
tree | db13aaa32a38c15aa14f64f4d01a0962889f9c0e /src/vehicle_gui.cpp | |
parent | 04d6648c5efd89a32669a17d6ad2711c719820d9 (diff) | |
download | openttd-926594b599e76886fd877e953036918687418b0c.tar.xz |
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index a38a91492..ad954db7d 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -44,7 +44,6 @@ #include "engine_func.h" #include "newgrf.h" #include "station_base.h" -#include "order_backup.h" #include "table/sprites.h" #include "table/strings.h" @@ -2373,6 +2372,5 @@ void CcBuildPrimaryVehicle(const CommandCost &result, TileIndex tile, uint32 p1, if (result.Failed()) return; const Vehicle *v = Vehicle::Get(_new_vehicle_id); - OrderBackup::Restore(v); ShowVehicleViewWindow(v); } |