From: Mikko Rasa Date: Thu, 6 Oct 2016 17:09:47 +0000 (+0300) Subject: Initialize last_packet_number X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ee7031ad49618ac199adb506f78b2ca0d2bea2fc;p=libs%2Fvr.git Initialize last_packet_number --- diff --git a/source/openvr/openvrcontroller.cpp b/source/openvr/openvrcontroller.cpp index 405cd2f..016405b 100644 --- a/source/openvr/openvrcontroller.cpp +++ b/source/openvr/openvrcontroller.cpp @@ -10,7 +10,8 @@ namespace VR { OpenVRController::OpenVRController(OpenVRSystem &s): system(s), - index(-1) + index(-1), + last_packet_number(0) { name = "OpenVR Controller";