Merge pull request #1768 from Areloch/VRPreprocessFix

Added a missed a preprocessor for when not using openVR.
This commit is contained in:
Areloch 2016-09-14 01:02:59 -05:00 committed by GitHub
commit 7bf200d388

View file

@ -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<OpenVRTrackedObject> mControllers[2];
#endif
struct ContactInfo
{