diff --git a/SQCSim2021/remoteplayer.cpp b/SQCSim2021/remoteplayer.cpp index f896d4f..f423f40 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.jumping && current.states.shooting ) { if (Shooting) index = 41; else @@ -165,13 +165,13 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr else index = 10; } - else if (current.states.jumping && current.states.shooting) { + else if (current.states.jumping && current.states.shooting ) { if (Shooting) index = 42; else index = 34; } - else if (current.states.jumping) + else if (current.states.jumping ) index = 26; else if (current.states.running && current.states.still) index = 1; @@ -185,13 +185,13 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr else index = 12; } - else if (current.states.jumping && current.states.shooting) { + else if (current.states.jumping && current.states.shooting ) { if (Shooting) index = 44; else index = 36; } - else if (current.states.jumping) + else if (current.states.jumping ) index = 28; else if (current.states.running && current.states.still) index = 3; @@ -230,7 +230,7 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr else index = 40; } - else if (current.states.jumping) + else if (current.states.jumping ) index = 32; else if (current.states.running && current.states.still) index = 7; @@ -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.jumping && current.states.shooting ) { if (Shooting) index = 47; else