This commit is contained in:
Anuken
2019-02-05 00:34:05 -05:00
parent 38b3ad07b7
commit 2904bc69d9
5 changed files with 969 additions and 969 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -345,7 +345,7 @@ public class NetClient implements ApplicationListener{
requests[i] = player.getPlaceQueue().get(i);
}
Call.onClientShapshot(lastSent++, Time.millis(), player.x, player.y,
Call.onClientShapshot(lastSent++, player.x, player.y,
player.pointerX, player.pointerY, player.rotation, player.baseRotation,
player.velocity().x, player.velocity().y,
player.getMineTile(),

View File

@ -259,7 +259,7 @@ public class NetServer implements ApplicationListener{
@Remote(targets = Loc.client, unreliable = true)
public static void onClientShapshot(
Player player,
int snapshotID, long sent,
int snapshotID,
float x, float y,
float pointerX, float pointerY,
float rotation, float baseRotation,