diff options
Diffstat (limited to 'x-plane-plugin')
-rw-r--r-- | x-plane-plugin/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c index f7c3a1b0..18a01aa2 100644 --- a/x-plane-plugin/plugin.c +++ b/x-plane-plugin/plugin.c @@ -88,8 +88,8 @@ int write_head_position( XPLMSetDataf(view_x, shm_posix->data[TX] * 1e-2 + offset_x); XPLMSetDataf(view_y, shm_posix->data[TY] * 1e-2 + offset_y); XPLMSetDataf(view_z, shm_posix->data[TZ] * 1e-2 + offset_z); - XPLMSetDataf(view_heading, shm_posix->data[RX]); - XPLMSetDataf(view_pitch, shm_posix->data[RY]); + XPLMSetDataf(view_heading, shm_posix->data[Yaw]); + XPLMSetDataf(view_pitch, shm_posix->data[Pitch]); PortableLockedShm_unlock(lck_posix); } return 1; |