(svn r11184) -Codechange: cleanup the code related to backup orders.

This commit is contained in:
rubidium
2007-09-28 21:15:45 +00:00
parent e67b985bfa
commit beeae81f60
8 changed files with 32 additions and 26 deletions

View File

@@ -128,7 +128,7 @@ void CcBuildRoadVeh(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);
}