diff --git a/SQCSim2021/remoteplayer.cpp b/SQCSim2021/remoteplayer.cpp index f423f40..2983bc2 100644 --- a/SQCSim2021/remoteplayer.cpp +++ b/SQCSim2021/remoteplayer.cpp @@ -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