Crosby, Still, Jump and Shoot
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user