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