--- a/src/Network/Client.cc Mon Dec 08 01:08:00 2008 +0000
+++ b/src/Network/Client.cc Mon Dec 08 01:12:00 2008 +0000
@@ -239,7 +239,9 @@
state.setLocalPlayer(this);
}
-void NetworkClientLocalPlayer::handleInput (PlayerInput input) {
+void NetworkClientLocalPlayer::handleInput (PlayerInput input, TimeMS dt) {
+ (void) dt;
+
// always send move, in all cases
NetworkPacket pkt;
pkt.write_uint16(input);
--- a/src/Network/Client.hh Mon Dec 08 01:08:00 2008 +0000
+++ b/src/Network/Client.hh Mon Dec 08 01:12:00 2008 +0000
@@ -87,7 +87,7 @@
public:
NetworkClientLocalPlayer (NetworkClient &client, NetworkObjectID obj_id, Vector position);
- virtual void handleInput (PlayerInput input);
+ virtual void handleInput (PlayerInput input, TimeMS dt);
};
class NetworkClientRemotePlayer : public NetworkClientPlayerBase, public RemotePlayer {