Skip to content

Commit edc61ef

Browse files
committed
feat: add hot air balloon
1 parent f48e488 commit edc61ef

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/plugins/simulator/msfs2024/simconnectdatadefinitionmsfs2024.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ namespace swift::simplugin::msfs2024common
461461
SIMCONNECT_SIMOBJECT_TYPE_AIRCRAFT);
462462
hr += SimConnect_EnumerateSimObjectsAndLiveries(hSimConnect, CSimConnectDefinitions::REQUEST_HELICOPTER,
463463
SIMCONNECT_SIMOBJECT_TYPE_HELICOPTER);
464-
// hr += SimConnect_EnumerateSimObjectsAndLiveries(hSimConnect, CSimConnectDefinitions::REQUEST_HOT_AIR,
465-
// SIMCONNECT_SIMOBJECT_TYPE_HOT_AIR_BALLOON);
464+
hr += SimConnect_EnumerateSimObjectsAndLiveries(hSimConnect, CSimConnectDefinitions::REQUEST_HOT_AIR,
465+
SIMCONNECT_SIMOBJECT_TYPE_HOT_AIR_BALLOON);
466466

467467
if (isFailure(hr))
468468
{

src/plugins/simulator/msfs2024/simulatormsfs2024common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ namespace swift::simplugin::msfs2024common
383383
default: break;
384384
}
385385

386-
// sSimmobjectLoadedState.bHotAirLoaded
387-
if (sSimmobjectLoadedState.bAirplaneLoaded && sSimmobjectLoadedState.bHelicopterLoaded)
386+
if (sSimmobjectLoadedState.bAirplaneLoaded && sSimmobjectLoadedState.bHelicopterLoaded &&
387+
sSimmobjectLoadedState.bHotAirLoaded)
388388
{
389389
sSimmobjectLoadedState.bLoadStarted = false;
390390
size_t countmodels = vSimObjectsAndLiveries.size();

0 commit comments

Comments
 (0)