Skip to content

Commit

Permalink
Allow player orientation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
croxxx committed Aug 22, 2015
1 parent 7a17e1e commit af08c3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ManicDiggerLib/Client/Mods/NetworkEntity.ci.cs
Expand Up @@ -156,6 +156,9 @@ public override void Handle(Game game, Packet_Server packet)
game.player.position.x = pos.x;
game.player.position.y = pos.y;
game.player.position.z = pos.z;
game.player.position.rotx = pos.rotx;
game.player.position.roty = pos.roty;
game.player.position.rotz = pos.rotz;
entity.networkPosition = null;
}
if (entity.push != null)
Expand Down

0 comments on commit af08c3c

Please sign in to comment.