Skip to content

Commit

Permalink
Windows build and lib updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TwinFan committed Jul 28, 2020
1 parent e7f9514 commit 9a709a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Lib/XPMP2/XPMP2.lib
Binary file not shown.
4 changes: 2 additions & 2 deletions Src/DataRefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ void DataRefs::LTSetBool(void* p, int i)

// If label config changes we need to tell XPMP2
if (p == &dataRefs.bLabelVisibilityCUtOff)
XPMPSetAircraftLabelDist(dataRefs.labelMaxDist, dataRefs.bLabelVisibilityCUtOff);
XPMPSetAircraftLabelDist(float(dataRefs.labelMaxDist), dataRefs.bLabelVisibilityCUtOff);
}

//
Expand Down Expand Up @@ -1403,7 +1403,7 @@ bool DataRefs::SetCfgValue (void* p, int val)

// If label draw distance changes we need to tell XPMP2
if (p == &labelMaxDist)
XPMPSetAircraftLabelDist(labelMaxDist, bLabelVisibilityCUtOff);
XPMPSetAircraftLabelDist(float(labelMaxDist), bLabelVisibilityCUtOff);

// success
return true;
Expand Down

0 comments on commit 9a709a8

Please sign in to comment.