summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FaceTrackNoIR/tracker.cpp')
-rw-r--r--FaceTrackNoIR/tracker.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp
index f271ee5b..90efc9d6 100644
--- a/FaceTrackNoIR/tracker.cpp
+++ b/FaceTrackNoIR/tracker.cpp
@@ -346,6 +346,13 @@ void Tracker::run() {
}
//
+ // Initialize all internal data of the Game-protocol.
+ //
+ if (server_Game) {
+ server_Game->resetProperties();
+ }
+
+ //
// Setup the DirectInput for keyboard strokes
//
// create the DirectInput interface