src/proto2/NetworkClient.cc
changeset 96 4a801210096c
parent 89 825c4613e087
child 107 505bfa531496
--- a/src/proto2/NetworkClient.cc	Mon Nov 24 15:18:55 2008 +0000
+++ b/src/proto2/NetworkClient.cc	Mon Nov 24 17:14:29 2008 +0000
@@ -92,11 +92,10 @@
     slots.connect(obj->sig_message(NETMSG_PLAYER_POSITION), this, &NetworkClientLocalPlayer::on_position);
 }
         
-void NetworkClientLocalPlayer::applyForce (Vector force, uint16_t dt) {
+void NetworkClientLocalPlayer::handleMove (PlayerInput_Move input) {
     // always send move, in all cases
     NetworkPacket pkt;
-    pkt.write_vector(force);
-    pkt.write_uint16(dt);
+    pkt.write_uint16(input);
 
     obj->send(NETMSG_CLIENT_MOVE, pkt, false);