]> git.tdb.fi Git - libs/vr.git/commitdiff
Initialize last_packet_number
authorMikko Rasa <tdb@tdb.fi>
Thu, 6 Oct 2016 17:09:47 +0000 (20:09 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 6 Oct 2016 17:09:47 +0000 (20:09 +0300)
source/openvr/openvrcontroller.cpp

index 405cd2f837a429b2aaf9408bca55b3e8b20d0524..016405bab6b90b652a192f7ab7b7a70472238da4 100644 (file)
@@ -10,7 +10,8 @@ namespace VR {
 
 OpenVRController::OpenVRController(OpenVRSystem &s):
        system(s),
-       index(-1)
+       index(-1),
+       last_packet_number(0)
 {
        name = "OpenVR Controller";