X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fserverremoteplayer.h;h=2ff1b0013582189dae7c0f51b23e665dd06d82ab;hb=ca0fd4173cb18dd54219a1e8f05ec412e4d707ec;hp=94926c824c4479c4a7fdcc62c0093b149e9674fc;hpb=0f8b91bfba56bf75eee459f25237c67f32bc0c1a;p=dragonfireclient.git diff --git a/src/serverremoteplayer.h b/src/serverremoteplayer.h index 94926c824..2ff1b0013 100644 --- a/src/serverremoteplayer.h +++ b/src/serverremoteplayer.h @@ -67,7 +67,10 @@ class ServerRemotePlayer : public Player, public ServerActiveObject void step(float dtime, bool send_recommended); std::string getClientInitializationData(); std::string getStaticData(); - void punch(ServerActiveObject *puncher, float time_from_last_punch); + int punch(v3f dir, + const ToolCapabilities *toolcap, + ServerActiveObject *puncher, + float time_from_last_punch); void rightClick(ServerActiveObject *clicker); void setPos(v3f pos); void moveTo(v3f pos, bool continuous);