mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #546, allows to run on Win10 without DirectX
Does not fix that it is asked to install DX, but avoids the crash if installation is denied
This commit is contained in:
@@ -92,7 +92,8 @@ namespace BlackSimPlugin
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
||||
if (m_hostStatus == Hosting) return hr;
|
||||
if (m_hostStatus == Hosting) { return hr; }
|
||||
if (!m_directPlayPeer) { return S_FALSE; }
|
||||
|
||||
DPN_APPLICATION_DESC dpAppDesc;
|
||||
|
||||
@@ -108,7 +109,6 @@ namespace BlackSimPlugin
|
||||
ZeroMemory(&playerInfo, sizeof(PLAYER_INFO_STRUCT));
|
||||
strcpy(playerInfo.szAircraft, "Boeing 737-400");
|
||||
|
||||
|
||||
playerInfo.dwFlags = PLAYER_INFO_STRUCT::PARAMS_RECV | PLAYER_INFO_STRUCT::PARAMS_SEND;
|
||||
|
||||
// Prepare and set the player information structure.
|
||||
|
||||
Reference in New Issue
Block a user