diff --git a/src/xswiftbus/libxplanemp b/src/xswiftbus/libxplanemp index 340b0d959..982162942 160000 --- a/src/xswiftbus/libxplanemp +++ b/src/xswiftbus/libxplanemp @@ -1 +1 @@ -Subproject commit 340b0d9595dc79be2ea1b69018eecd66842ccfee +Subproject commit 982162942ae672bff8364c145d059aae8f015f7e diff --git a/src/xswiftbus/traffic.cpp b/src/xswiftbus/traffic.cpp index 5d724f8bb..c16d98101 100644 --- a/src/xswiftbus/traffic.cpp +++ b/src/xswiftbus/traffic.cpp @@ -251,7 +251,7 @@ namespace XSwiftBus XPMPPlaneID id = nullptr; if (modelName.empty()) { - id = XPMPCreatePlane(aircraftIcao.c_str(), airlineIcao.c_str(), livery.c_str(), getPlaneData, static_cast(this)); + id = XPMPCreatePlane(aircraftIcao.c_str(), airlineIcao.c_str(), livery.c_str(), getPlaneData, planeLoaded, static_cast(this)); } else {