From 128edcd118d51d45206d5ce929ac1245d6ede5b3 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Sun, 10 Jun 2018 11:56:23 +0200 Subject: [PATCH] Update libxplanemp --- src/xswiftbus/libxplanemp | 2 +- src/xswiftbus/traffic.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {