- Fix skip size in SkipTicCmd() missed during 8bfcb8c939.

This commit is contained in:
Mitchell Richters 2023-04-05 15:00:47 +10:00
parent c4bd550483
commit 0f07ea9e37

View file

@ -295,8 +295,8 @@ int SkipTicCmd (uint8_t **stream, int count)
skip = 1;
if (*flow & UCMDF_PITCH) skip += 4;
if (*flow & UCMDF_YAW) skip += 4;
if (*flow & UCMDF_FORWARDMOVE) skip += 2;
if (*flow & UCMDF_SIDEMOVE) skip += 2;
if (*flow & UCMDF_FORWARDMOVE) skip += 4;
if (*flow & UCMDF_SIDEMOVE) skip += 4;
if (*flow & UCMDF_UPMOVE) skip += 4;
if (*flow & UCMDF_ROLL) skip += 4;
if (*flow & UCMDF_BUTTONS) skip += 4;