Crosby, Still, Jump and Shoot

This commit is contained in:
MarcEricMartel
2023-12-07 12:48:48 -05:00
parent f0afdf828e
commit 4e0a9cea35
2 changed files with 7 additions and 7 deletions

View File

@@ -146,7 +146,7 @@ Timestamp Connection::Run(World* world) {
out.states.jumping = player->GetIsAirborne(); //abs(player->GetVelocity().y) > .2f;
out.states.running = player->GetVelocity().Length() > .5f;
out.states.still = !out.states.running;
out.states.still = !out.states.running && !out.states.jumping;
out.states.hit = player->m_hit;
player->m_hit = false;