From edebad86a6e3ae33908af584b0c69a5ae0362d84 Mon Sep 17 00:00:00 2001 From: Claudel-D-Roy <112507354+Claudel-D-Roy@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:26:46 -0500 Subject: [PATCH] Blahblahblah --- SQCSim2021/remoteplayer.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/SQCSim2021/remoteplayer.cpp b/SQCSim2021/remoteplayer.cpp index 5ca6ba9..4e4b324 100644 --- a/SQCSim2021/remoteplayer.cpp +++ b/SQCSim2021/remoteplayer.cpp @@ -125,13 +125,15 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr bool isLeft = side.y > 0; time += elapsedTime; - if (time >= 500) + if (time >= 250) { - time -= 500; - if (!current.states.shooting) + time -= 250; + + Shooting = !Shooting; + /*if (!current.states.shooting) Shooting = false; else - Shooting = true; + 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;