summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
index 4410b7a5..84d1d20b 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
@@ -112,7 +112,7 @@ void FTNoIR_Protocol::sendHeadposeToGame(const double* headpose) {
float headRotX;
float headRotY;
float headRotZ;
- headRotX = virtRotX = getRadsFromDegrees(headpose[Pitch]);
+ headRotX = virtRotX = getRadsFromDegrees(headpose[Pitch]) * (useDummyExe ? 2.0 : 1.0);
headRotY = virtRotY = getRadsFromDegrees(headpose[Yaw]);
headRotZ = virtRotZ = getRadsFromDegrees(headpose[Roll]);
headPosX = virtPosX = headpose[TX] * 10;