summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-15 10:18:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-15 10:23:20 +0100
commite0456fad5c96f4a272accecb0781d9a32e6d2cf4 (patch)
tree72417c9155868f2c75877deaeddeb84e9b5b37a6 /proto-ft
parent0a92bc147f91f3ecacdf66d995f01f9577107a86 (diff)
proto/ft: work with npclient logic
DataID can be idempotent. It's "static unsigned frameno" in npclient that's used in place of DataID.
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index ae8fe5a2..d240cc8d 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2015, 2017 Stanislaw Halik <sthalik@misaki.pl>
+/* Copyright (c) 2013-2018 Stanislaw Halik <sthalik@misaki.pl>
* Copyright (c) 2015 Wim Vriend
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -97,7 +97,7 @@ void freetrack::pose(const double* headpose)
const std::int32_t id = load(ft->GameID);
- store(data->DataID, 60 * 10 + (rand() % 64));
+ store(data->DataID, 60 * 5);
if (intGameID != id)
{