Push && Pull

This commit is contained in:
Claudel-D-Roy 2023-12-07 12:43:16 -05:00
parent 99a5054c8f
commit 1905c31923

View File

@ -145,7 +145,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 9;
}
else if (current.states.jumping && current.states.shooting ) {
else if (current.states.jumpshot) {
if (Shooting)
index = 41;
else
@ -165,7 +165,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 10;
}
else if (current.states.jumping && current.states.shooting ) {
else if (current.states.jumpshot) {
if (Shooting)
index = 42;
else
@ -185,7 +185,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 12;
}
else if (current.states.jumping && current.states.shooting ) {
else if (current.states.jumpshot ) {
if (Shooting)
index = 44;
else
@ -205,7 +205,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 14;
}
else if (current.states.jumping && current.states.shooting) {
else if (current.states.jumpshot) {
if (Shooting)
index = 46;
else
@ -224,7 +224,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 16;
}
else if (current.states.jumping && current.states.shooting) {
else if (current.states.jumpshot) {
if (Shooting)
index = 48;
else
@ -244,7 +244,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 11;
}
else if (current.states.jumping && current.states.shooting) {
else if (current.states.jumpshot) {
if (Shooting)
index = 43;
else
@ -264,7 +264,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 13;
}
else if (current.states.jumping && current.states.shooting) {
else if (current.states.jumpshot) {
if (Shooting)
index = 45;
else
@ -284,7 +284,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
index = 15;
}
else if (current.states.jumping && current.states.shooting ) {
else if (current.states.jumpshot) {
if (Shooting)
index = 47;
else