aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/baengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/burn/engine/baengine.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/burn/engine/baengine.cpp b/src/burn/engine/baengine.cpp
index d1704ad9..e48f71c0 100644
--- a/src/burn/engine/baengine.cpp
+++ b/src/burn/engine/baengine.cpp
@@ -1134,12 +1134,15 @@ static HRESULT BAEnginePlan(
1134 hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast<DWORD*>(&args.action)); 1134 hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast<DWORD*>(&args.action));
1135 ExitOnFailure(hr, "Failed to read plan action of BAEnginePlan args."); 1135 ExitOnFailure(hr, "Failed to read plan action of BAEnginePlan args.");
1136 1136
1137 hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast<DWORD*>(&args.plannedScope));
1138 ExitOnFailure(hr, "Failed to read plan scope of BAEnginePlan args.");
1139
1137 // Read results. 1140 // Read results.
1138 hr = BuffReaderReadNumber(pReaderResults, &results.dwApiVersion); 1141 hr = BuffReaderReadNumber(pReaderResults, &results.dwApiVersion);
1139 ExitOnFailure(hr, "Failed to read API version of BAEnginePlan results."); 1142 ExitOnFailure(hr, "Failed to read API version of BAEnginePlan results.");
1140 1143
1141 // Execute. 1144 // Execute.
1142 hr = ExternalEnginePlan(pContext, args.action); 1145 hr = ExternalEnginePlan(pContext, args.action, args.plannedScope);
1143 ExitOnFailure(hr, "Failed to plan in the engine."); 1146 ExitOnFailure(hr, "Failed to plan in the engine.");
1144 1147
1145 // Pack result. 1148 // Pack result.