From 0e45b2b81e32487dfffa7a812ced6bc27cea5dcc Mon Sep 17 00:00:00 2001 From: Claudel-D-Roy <112507354+Claudel-D-Roy@users.noreply.github.com> Date: Wed, 13 Dec 2023 13:33:44 -0500 Subject: [PATCH] essaie no. 89657657457 --- SQCSim2021/remoteplayer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SQCSim2021/remoteplayer.cpp b/SQCSim2021/remoteplayer.cpp index 321c64d..9ed594c 100644 --- a/SQCSim2021/remoteplayer.cpp +++ b/SQCSim2021/remoteplayer.cpp @@ -130,9 +130,11 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr if (!current.states.shooting) Shooting = false; else - Shooting = !Shooting; + Shooting = true; } + std::cout << "shooting : " << current.states.shooting << " jumping : " << current.states.jumping << " jumpshot : " << current.states.jumpshot << " running : " << current.states.running << " still : " << current.states.still << " dead : " << current.states.dead << " hit : " << current.states.hit << std::endl; + if (angle >= 0.75) //Face - side positif { if(current.states.shooting){