From d9b56a39bf966e3eddf35b02a9400a3556823750 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 16 Feb 2018 12:39:32 +0100 Subject: proto/ft: fix idempotent dataid for freetrackclient It can cause problems for `freetrackclient.dll' consumers. This fix is better than modulo rand(). --- proto-ft/ftnoir_protocol_ft.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto-ft/ftnoir_protocol_ft.h') diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h index ac82bbd9..843d1f34 100644 --- a/proto-ft/ftnoir_protocol_ft.h +++ b/proto-ft/ftnoir_protocol_ft.h @@ -54,6 +54,7 @@ private: int intGameID = -1; QString connected_game; QMutex game_name_mutex; + unsigned data_id = 0; void start_dummy(); static float degrees_to_rads(double degrees); -- cgit v1.2.3