Blahblahblah
This commit is contained in:
parent
2dbaf84844
commit
edebad86a6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user