diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-21 10:25:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-21 11:12:52 +0100 |
commit | 8354713abd533c3a48282f5cdce8961df5ffa178 (patch) | |
tree | 3ad16a88525d5209536708149de948f94e1e99e3 /proto-ft/ftnoir_protocol_ft.cpp | |
parent | 7ffec3899cf9c2fe14350d72cfd0d1858481b43c (diff) |
[STABLE] contrib/npclient, proto/ft: revert
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 0c97ffd2..ae8fe5a2 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2018 Stanislaw Halik <sthalik@misaki.pl> +/* Copyright (c) 2013-2015, 2017 Stanislaw Halik <sthalik@misaki.pl> * Copyright (c) 2015 Wim Vriend * * Permission to use, copy, modify, and/or distribute this software for any @@ -97,10 +97,7 @@ void freetrack::pose(const double* headpose) const std::int32_t id = load(ft->GameID); - data_id++; - data_id %= 128; - - store(data->DataID, 60 * 5 + data_id); + store(data->DataID, 60 * 10 + (rand() % 64)); if (intGameID != id) { |