From 6dbfe77ddb805f5b4f3eb4415933510d343a5e1d Mon Sep 17 00:00:00 2001 From: Areloch Date: Wed, 14 Sep 2016 00:59:55 -0500 Subject: [PATCH] Added a missed a preprocessor for when not using openVR. --- Engine/source/T3D/player.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Engine/source/T3D/player.h b/Engine/source/T3D/player.h index 1e0a76cb0..b8d1e5cfc 100644 --- a/Engine/source/T3D/player.h +++ b/Engine/source/T3D/player.h @@ -39,7 +39,10 @@ class DecalData; class SplashData; class PhysicsPlayer; class Player; + +#ifdef TORQUE_OPENVR class OpenVRTrackedObject; +#endif //---------------------------------------------------------------------------- @@ -519,7 +522,9 @@ protected: Point3F mLastPos; ///< Holds the last position for physics updates Point3F mLastWaterPos; ///< Same as mLastPos, but for water +#ifdef TORQUE_OPENVR SimObjectPtr mControllers[2]; +#endif struct ContactInfo {