mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
committed by
Klaus Basan
parent
eb58450e8c
commit
ea561cf723
@@ -79,6 +79,7 @@ namespace BlackSimPlugin
|
||||
FS_PBH pbhstrct;
|
||||
pbhstrct.pbh = positionVelocity.pbh;
|
||||
int pitch = pbhstrct.pitch / CFs9Sdk::pitchMultiplier();
|
||||
if (pitch < -90 || pitch > 89) { CLogMessage(nullptr).warning("FS9: Pitch value out of limits: %1") << pitch; }
|
||||
int bank = pbhstrct.bank / CFs9Sdk::bankMultiplier();
|
||||
|
||||
// MSFS has inverted pitch and bank angles
|
||||
|
||||
Reference in New Issue
Block a user