Fixed an issue where buffers aren't being sent properly

Tags #Story[829]
This commit is contained in:
Michael Rausch
2017-04-30 16:16:44 +12:00
parent 9a995ddcc1
commit 1cf55f3e96
10 changed files with 35 additions and 13 deletions
@@ -135,7 +135,7 @@ public class BoatLocationMessage extends Message {
heading = (heading + 180.0) % 360.0;
long headingToSend = (long)((heading/360.0)*65535.0);
long headingToSend = (long)((heading/360.0)*49152.0);
putByte((byte) messageVersionNumber);
putInt(time, 6);