summaryrefslogtreecommitdiff
path: root/src/ship_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-28 21:15:45 +0000
committerrubidium <rubidium@openttd.org>2007-09-28 21:15:45 +0000
commit86dac1533b389de020eada43aa8b2b082d206047 (patch)
tree9c123ba4ba288529f497d5f3152afe0cb9f7232e /src/ship_gui.cpp
parentbba0d120b7877e4eddec537815525ba34b96f3a1 (diff)
downloadopenttd-86dac1533b389de020eada43aa8b2b082d206047.tar.xz
(svn r11184) -Codechange: cleanup the code related to backup orders.
Diffstat (limited to 'src/ship_gui.cpp')
-rw-r--r--src/ship_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_gui.cpp b/src/ship_gui.cpp
index 1e885de86..e08ea3948 100644
--- a/src/ship_gui.cpp
+++ b/src/ship_gui.cpp
@@ -35,7 +35,7 @@ void CcBuildShip(bool success, TileIndex tile, uint32 p1, uint32 p2)
v = GetVehicle(_new_vehicle_id);
if (v->tile == _backup_orders_tile) {
_backup_orders_tile = 0;
- RestoreVehicleOrders(v, _backup_orders_data);
+ RestoreVehicleOrders(v);
}
ShowVehicleViewWindow(v);
}