mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed an issue where buffers aren't being sent properly
Tags #Story[829]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user