mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-02-26 08:00:59 +00:00
marble and mac ci
This commit is contained in:
parent
568d6c0fac
commit
75e9c13579
1 changed files with 4 additions and 0 deletions
|
|
@ -1803,6 +1803,10 @@ class Marble extends GameObject {
|
|||
} else if (Net.isHost) {
|
||||
var axis = getMarbleAxis()[1];
|
||||
var innerMove = recordMove();
|
||||
var qx = Std.int((innerMove.d.x * 16) + 16);
|
||||
var qy = Std.int((innerMove.d.y * 16) + 16);
|
||||
innerMove.d.x = (qx - 16) / 16.0;
|
||||
innerMove.d.y = (qy - 16) / 16.0;
|
||||
move = new NetMove(innerMove, axis, timeState, recvServerTick, 65535);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue