aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'pixel-client/src')
-rw-r--r--pixel-client/src/game.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/pixel-client/src/game.rs b/pixel-client/src/game.rs
index 600ea2f1..fb9df21c 100644
--- a/pixel-client/src/game.rs
+++ b/pixel-client/src/game.rs
@@ -167,7 +167,7 @@ impl Game {
if send_movement {
self.network
.queue_out
- .push_back(player.movement.movement_packet(direction, self.my_id));
+ .push_back(player.movement.movement_packet(self.my_id));
}
player.interact_target_anim.exp_to(
@@ -271,6 +271,7 @@ impl Game {
item: None,
movement: MovementBase {
position,
+ direction: Vec2::ZERO,
facing: Vec2::X,
rotation: 0.,
velocity: Vec2::ZERO,
@@ -329,10 +330,6 @@ impl Game {
} => {
self.get_item(item).as_mut().unwrap().progress = progress.map(|s| (s, warn));
}
- PacketC::Collide {
- player: _,
- force: _,
- } => (),
PacketC::Communicate { .. } => {
// TODO
}