diff --git a/SQCSim2021/remoteplayer.cpp b/SQCSim2021/remoteplayer.cpp index ae0e92f..0538475 100644 --- a/SQCSim2021/remoteplayer.cpp +++ b/SQCSim2021/remoteplayer.cpp @@ -125,9 +125,9 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr bool isLeft = side.y > 0; time += elapsedTime; - if (time >= 100) + if (time >= 0.5) { - time -= 100; + time -= 0.5; Shooting = !Shooting; /*if (!current.states.shooting) @@ -135,8 +135,9 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr else 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; + //std::cout << Shooting << std::endl; + //std::cout << time << std::endl; + //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 {