From 83451137d074fae72ae7b452e4dcbb5b5ab02655 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sat, 13 Apr 2024 15:45:03 +0200 Subject: [PATCH] fix player shoot --- src/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.cpp b/src/Client.cpp index d12ed51..7446e3d 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -70,6 +70,6 @@ void Client::SendTextChat(const std::string& msg) { } void Client::Shoot() { - protocol::PlayerShootPacket packet; + protocol::PlayerShootPacket packet({}, 0, 0); SendPacket(&packet); } \ No newline at end of file