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){