mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
Adapt to libxplanemp improvements
* XPMPMultiplayerInit API change * New CSL command 'VERT_OFFSET' * OBJ8 objects can have multiple textures now. Therefore use the same model name convention as with OBJ7.
This commit is contained in:
committed by
Klaus Basan
parent
e64e7feb28
commit
2ab6a96d57
@@ -99,7 +99,8 @@ namespace XSwiftBus
|
||||
{
|
||||
if (! s_legacyDataOK) { return false; }
|
||||
|
||||
auto err = XPMPMultiplayerInit(preferences, preferences);
|
||||
auto dir = g_xplanePath + "Resources" + g_sep + "plugins" + g_sep + "xswiftbus" + g_sep;
|
||||
auto err = XPMPMultiplayerInit(preferences, preferences, qPrintable(dir));
|
||||
if (*err) { cleanup(); return false; }
|
||||
m_initialized = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user